diff --git a/enos/modules/docker_minio/policy.json b/enos/modules/docker_minio/policy.json index eb7c16241b..dab3d9c789 100644 --- a/enos/modules/docker_minio/policy.json +++ b/enos/modules/docker_minio/policy.json @@ -4,16 +4,26 @@ { "Effect": "Allow", "Action": [ - "s3:ListBucket", "s3:PutObject", "s3:GetObject", "s3:DeleteObject", "s3:GetObjectAttributes" ], "Resource": [ - "arn:aws:s3:::testbucket", "arn:aws:s3:::testbucket/*" ] + }, + { + "Action": "s3:ListBucket", + "Effect": "Allow", + "Resource": "arn:aws:s3:::testbucket" + }, + { + "Action": [ + "admin:CreateServiceAccount", + "admin:RemoveServiceAccount" + ], + "Effect": "Allow" } ] }