Bucket Policy Configuration
Bucket Policy is used to manage access control for a bucket by defining who can access it and what actions they can perform. It allows secure and fine-grained permission management using a JSON policy. By applying a bucket policy, specific users can be granted limited access such as read-only or download permissions without changing the bucket’s visibility. This ensures better security and controlled usage of object storage resources.
Prerequisite – User Management
Go to Users → Users
Confirm that your sub-user is created and active.

Steps to Configure Bucket Policy:
Navigate to Buckets from the left menu.
Select your required bucket, Click on Bucket Settings. then Open the Access Control & Permissions tab.

In the policy editor, paste the required JSON policy
In this policy, the following values are defined:
Effect:
AllowThis specifies that the permission is granted.Principal: The sub-user to whom access is given. In this case, the sub-user accessuser is used:
Action:
s3:GetObjectThis allows the user to read and download objects from the bucket.Resource:
This applies the permission to all objects inside the prertest bucket.

Click on Validate Policy to verify the syntax and structure of the policy.After successful validation, click on Save to apply the policy. Delete the Bucket policy:
To delete a bucket policy, navigate to Buckets → Bucket Settings → Access Control & Permissions, clear the existing policy from the Bucket Policy editor, and click Save. This removes all custom access rules applied to the bucket.
Last updated