Skip to main content
The following examples show common bucket access policy patterns. For details on how to apply a policy to a bucket, see Manage bucket policies.

Allow read access for a user and group

The following policy allows read access to the specified bucket for one console user and one SAML group. Fill in the following parameters in the policy:
  • [ORG-ID] with your organization’s ID.
  • [USER-ID] with the console user’s ID.
  • [SAML-GROUP-ID] with the SAML group ID.
  • [BUCKET-NAME] with the name of the bucket you want to grant read access to.
Allow read access for a user and group

Allow access from another organization

You can also use bucket access policies to grant users from other organizations access to your bucket. The following example grants read access to one console user and one SAML group, and scopes access to principals from your organization and one other organization: Fill in the following parameters in the policy:
  • [ORG-ID] with your organization’s ID.
  • [OTHER-ORG-ID] with the other organization’s ID.
  • [USER-ID] with the console user’s ID.
  • [SAML-GROUP-ID] with the SAML group ID.
  • [BUCKET-NAME] with the name of the bucket you want to grant read access to.
Allow users from other organizations to access your bucket

Prevent a specific user from deleting objects

This policy prevents a specific user from deleting objects. Replace [ORG-ID] with your organization’s ID and [USER-ID] with the user’s ID.
Prevent a specific user from deleting objects

Additional resources

Last modified on July 31, 2026