auth/aws: Improve role tag docs as suggested on mailing list (#3915)
Fixes the ambiguity called out in https://groups.google.com/forum/#!msg/vault-tool/X3s7YY0An_w/yH0KFQxlBgAJ
This commit is contained in:
parent
3b2393aa2b
commit
c61ac21e6c
|
@ -821,7 +821,7 @@ given instance can be allowed to gain in a worst-case scenario.
|
|||
|
||||
```json
|
||||
{
|
||||
"policies": ["default", "prod"]
|
||||
"policies": ["default", "dev-api"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -832,7 +832,7 @@ $ curl \
|
|||
--header "X-Vault-Token: ..." \
|
||||
--request POST \
|
||||
--data @payload.json \
|
||||
https://vault.rocks/v1/auth/aws/role/dev-role/tag
|
||||
https://vault.rocks/v1/auth/aws/role/dev-api-and-web-role/tag
|
||||
```
|
||||
|
||||
### Sample Response
|
||||
|
@ -840,7 +840,7 @@ $ curl \
|
|||
```json
|
||||
{
|
||||
"data": {
|
||||
"tag_value": "v1:09Vp0qGuyB8=:r=dev-role:p=default,prod:d=false:t=300h0m0s:uPLKCQxqsefRhrp1qmVa1wsQVUXXJG8UZP/pJIdVyOI=",
|
||||
"tag_value": "v1:09Vp0qGuyB8=:r=dev-role:p=default,dev-api:d=false:t=300h0m0s:uPLKCQxqsefRhrp1qmVa1wsQVUXXJG8UZP/pJIdVyOI=",
|
||||
"tag_key": "VaultRole"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue