Created
February 28, 2023 23:50
-
-
Save harsimranmaan/6b988c67d588670c2a7a87d19571272a to your computer and use it in GitHub Desktop.
ABAC
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": [ | |
{ | |
"Sid": "AllowReadWrite", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetObject*", | |
"s3:PutObject*" | |
], | |
"Resource": [ | |
"arn:aws:s3:::department-storage/${aws:PrincipalTag/department}/*" | |
] | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment