Skip to content

Commit d86e0ef

Browse files
authored
register known issue for azure static roles metadata (#1187)
Register known issue for azure static roles released in 1.21.0
2 parents 63d9314 + 4b4e28f commit d86e0ef

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
### Azure static roles fail to parse metadata as a map
2+
3+
#### Affected versions
4+
5+
- 1.21.0
6+
7+
#### Issue
8+
9+
The creation/update of an Azure static role fails if the request payload includes
10+
metadata provided as a map:
11+
12+
```json
13+
{
14+
"application_object_id": "408bf248-dd4e-4be5-919a-7f6207a307ab",
15+
"ttl": "8760h",
16+
"metadata": {
17+
"team": "engineering",
18+
"environment": "development"
19+
}
20+
}
21+
```
22+
23+
#### Workaround
24+
25+
Provide the metadata field as a string when creating or updating an Azure
26+
static role:
27+
28+
```json
29+
{
30+
"application_object_id": "408bf248-dd4e-4be5-919a-7f6207a307ab",
31+
"ttl": "8760h",
32+
"metadata": "{\"team\": \"engineering\",\"environment\": \"development\"}"
33+
}
34+
```

content/vault/global/partials/important-changes/summary-tables/1_21.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ Introduced | Recommendations | Edition | Change
1818
Found | Fixed | Workaround | Edition | Issue
1919
------ |--------| ---------- | ---------- | -----
2020
1.21.0 | No | **Yes** | Enterprise | [Missed events with multiple event clients](/vault/docs/v1.21.x/updates/important-changes#missed-events)
21+
1.21.0 | No | **Yes** | Enterprise | [Azure static roles fail to parse metadata as a map](/vault/docs/v1.21.x/updates/important-changes#azure-static-roles)

content/vault/v1.21.x/content/docs/updates/important-changes.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,5 @@ filters you have two options:
8181

8282
1. Spread them out among the nodes of the Vault cluster.
8383
1. Only subscribe to events on the active node of the cluster.
84+
85+
@include '../../../global/partials/important-changes/known-issue/azure-static-roles.mdx'

0 commit comments

Comments
 (0)