Skip to content

Set AWS S3 bucket permission with mc tool

Use mc tool to set AWS S3 permission.

Install mc

brew install minio/stable/mc


prepare mc-policy.json

 "Statement": [
      "Principal": "*",
 "Version": "2012-10-17"
mc policy set-json mc-policy.json s3/BUCKET1
mc policy get-json s3/BUCKET1/



  1. License under CC BY-NC 4.0
  2. Copyright issue feedback, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App