Created
March 1, 2023 00:37
-
-
Save harsimranmaan/ce7f8d2249da36808d2034c227697fae to your computer and use it in GitHub Desktop.
AWS trust relationship for Vault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"Federated": "arn:aws:iam::0000000000000:oidc-provider/oidc-test-XXXXXXXX.amazonaws.com/v1/identity/oidc" | |
}, | |
"Action": [ | |
"sts:AssumeRoleWithWebIdentity", | |
"sts:TagSession" | |
], | |
"Condition": { | |
"StringEquals": { | |
"XXXXXX.amazonaws.com/v1/identity/oidc:aud": "sts.amazon.com" | |
}, | |
"StringLike": { | |
"aws:RequestTag/department": "*" | |
} | |
} | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment