From c9dafc19715c0c8c38ad33bd413de69613ae0dd2 Mon Sep 17 00:00:00 2001 From: NikolaiMagicnet <118166702+NikolaiMagicnet@users.noreply.github.com> Date: Wed, 27 Mar 2024 18:10:19 +0200 Subject: [PATCH] Fixed the URL (#26178) Co-authored-by: Chris Capurso <1036769+ccapurso@users.noreply.github.com> --- website/content/docs/auth/aws.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/auth/aws.mdx b/website/content/docs/auth/aws.mdx index e6119ddeff00..7bac1275a4a2 100644 --- a/website/content/docs/auth/aws.mdx +++ b/website/content/docs/auth/aws.mdx @@ -709,9 +709,9 @@ curl -X POST -H "X-Vault-Token:123" "http://127.0.0.1:8200/v1/auth/aws/config/cl #### Configure the policies on the role. ``` -curl -X POST -H "X-Vault-Token:123" "http://127.0.0.1:8200/v1/auth/aws/role/dev-role -d '{"bound_ami_id":"ami-fce3c696","policies":"prod,dev","max_ttl":"500h"}' +curl -X POST -H "X-Vault-Token:123" "http://127.0.0.1:8200/v1/auth/aws/role/dev-role" -d '{"bound_ami_id":"ami-fce3c696","policies":"prod,dev","max_ttl":"500h"}' -curl -X POST -H "X-Vault-Token:123" "http://127.0.0.1:8200/v1/auth/aws/role/dev-role-iam -d '{"auth_type":"iam","policies":"prod,dev","max_ttl":"500h","bound_iam_principal_arn":"arn:aws:iam::123456789012:role/MyRole"}' +curl -X POST -H "X-Vault-Token:123" "http://127.0.0.1:8200/v1/auth/aws/role/dev-role-iam" -d '{"auth_type":"iam","policies":"prod,dev","max_ttl":"500h","bound_iam_principal_arn":"arn:aws:iam::123456789012:role/MyRole"}' ``` #### Perform the login operation