Last active
October 24, 2019 09:58
-
-
Save MrHassanMurtaza/f5f948a3fba07f5fda44163c286c512e to your computer and use it in GitHub Desktop.
Secret manager attribute based access control
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", | |
"Action": "secretsmanager:GetSecretValue", | |
"Resource": "*", | |
"Condition": { | |
"secretsmanager:ResourceTag/Project": "${aws:PrincipalTag/Project}" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment