Access Keys

Recents version of MinIO removed the ability to manage and generate keys via the UI. The mc CLI tool must be used instead. See the CLI section for more information. To…

Deploy MinIO as a fully managed service starting at €9/month. Get automated backups, SSL, updates, monitoring, and human support, all included.

DANIAN runs MinIO as a fully managed service: installation, updates, backups, monitoring and security are handled for you.

See the minio hosting page for plans, pricing and a free trial.

 

Recents version of MinIO removed the ability to manage and generate keys via the UI. The mc CLI tool must be used instead. See the CLI section for more information.

 

To create access keys, you have to set up a user, attach a policy to the user and generate access keys for the user.

 

1. Connect the CLI to your MinIO server

mc alias set myminio https://minio-api.yourdomain.com minioadmin minioadmin

 

2. Create a user

mc admin user add myminio selectnewusername EnterThePasswordHere

 

3. Create the bucket policy. Create a file named policy.json:

{

  "Version": "2012-10-17",

  "Statement": [

    {

      "Effect": "Allow",

      "Action": [

        "s3:*"

      ],

      "Resource": [

        "arn:aws:s3:::mybucket",

        "arn:aws:s3:::mybucket/*"

      ]

    }

  ]

}

 

4. Then, create the policy on the server:

mc admin policy create myminio mybucket-fullaccess ./policy.json

 

5. Attach the bucket with the user:

mc admin policy attach myminio mybucket-fullaccess --user selectnewusername

 

6. Finally, generate access keys for the user:

mc admin accesskey create myminio/ selectnewusername

 

Explore the platform

Find more information about our company, platform, and services on our website.

Visit danian.co