Grant access to models bucket for my user
- Get the policy from pravda-dev
pravda@pravda-dev:~$ mc admin policy info minio models
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::models",
"arn:aws:s3:::models/*"
]
}
]
}
- Copy the output to a JSON file
- Create the policy in my computer
mc admin policy add minio models models-policy.json
- Add my user to models-bucket-masters group
mc admin group add minio models-bucket-masters haroune
- Attribute the policy to the group
mc admin policy set minio models group=models-bucket-masters