Skip to content

Instantly share code, notes, and snippets.

@mkash32
Last active May 21, 2016 08:25
Show Gist options
  • Save mkash32/57c60caef716c3c801f680e5805924ee to your computer and use it in GitHub Desktop.
Save mkash32/57c60caef716c3c801f680e5805924ee to your computer and use it in GitHub Desktop.
$ mc access readonly myminio/bucket
Access permission for ‘myminio/bucket’ is set to ‘readonly’
$ mc access myminio/bucket
{"Version":"2012-10-17","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetBucketLocation","s3:ListBucket"],"Resource":["arn:aws:s3:::bucket"]},{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetObject"],"Resource":["arn:aws:s3:::bucket/*"]}]}
Bucket Name: bucket Object Prefix:
Access permission for ‘myminio/bucket’ is ‘readonly’
$ mc access myminio/bucket/
{"Version":"2012-10-17","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetBucketLocation","s3:ListBucket"],"Resource":["arn:aws:s3:::bucket"]},{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetObject"],"Resource":["arn:aws:s3:::bucket/*"]}]}
Bucket Name: bucket Object Prefix:
Access permission for ‘myminio/bucket/’ is ‘readonly’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment