Skip to content

Instantly share code, notes, and snippets.

@MrHassanMurtaza
Last active October 24, 2019 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrHassanMurtaza/f5f948a3fba07f5fda44163c286c512e to your computer and use it in GitHub Desktop.
Save MrHassanMurtaza/f5f948a3fba07f5fda44163c286c512e to your computer and use it in GitHub Desktop.
Secret manager attribute based access control
{
"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