# Add new S3 user to Minio mc admin user add thasystems "s3-username" "s3-password" # Create and attach S3 policy to user in Minio mc admin policy create thasystems restic_sample_policy /tmp/restic_policy.json mc admin policy attach thasystems "restic_sample_policy" --user "s3-username" # Create new bucket 'resticsample' and ignore if it already exists mc mb --ignore-existing thasystems/resticsample