Create a gist now

Instantly share code, notes, and snippets.

Embed
AWS Grant Object and Demo the permissions
#!/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