Advertisement
Guest User

MinIO Policy (bind a user to one bucket)

a guest
Aug 6th, 2023
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.48 KB | None | 0 0
  1.  
  2. {
  3.     "Version": "2012-10-17",
  4.     "Statement": [
  5.         {
  6.             "Effect": "Allow",
  7.             "Action": [
  8.                 "s3:*"
  9.             ],
  10.             "Resource": [
  11.                 "arn:aws:s3:::${aws:username}"
  12.             ]
  13.         },
  14.         {
  15.             "Effect": "Allow",
  16.             "Action": [
  17.                 "s3:*"
  18.             ],
  19.             "Resource": [
  20.                 "arn:aws:s3:::${aws:username}/*"
  21.             ]
  22.         }
  23.     ]
  24. }
  25.  
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement