From c61ac21e6c91a365ffdf0fd1275d1db73977ef8e Mon Sep 17 00:00:00 2001 From: Joel Thompson Date: Mon, 12 Feb 2018 15:39:17 -0700 Subject: [PATCH] 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 --- website/source/api/auth/aws/index.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/api/auth/aws/index.html.md b/website/source/api/auth/aws/index.html.md index 9182ec41e..9a2f13c0d 100644 --- a/website/source/api/auth/aws/index.html.md +++ b/website/source/api/auth/aws/index.html.md @@ -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" } }