Created
February 25, 2018 07:42
-
-
Save random-robbie/9c49f5d6c92884feb7b366802566b41d to your computer and use it in GitHub Desktop.
AWS Grant Object and Demo the permissions
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
#!/bin/bash | |
aws s3api put-object-acl --bucket $1 --key $2 --grant-full-control emailaddress=$3 --grant-write uri=http://acs.amazonaws.com/groups/global/AuthenticatedUsers | |
aws s3api get-object-acl --bucket $1 --key $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment