Bucket Policy Examples
Following are a few examples of common use cases and their corresponding bucket policy configurations.
Grant full control of the bucket to other users
To grant full control over a bucket and its objects to other IONOS S3 Object Storage users:
Grant read-only access to a specific prefix
To grant read-only access to objects within a specific prefix of a bucket to other IONOS S3 Object Storage users:
Public read access
To allow read access to certain objects within a bucket while keeping other objects private:
Restrict access to specific IP addresses
To restrict all users from performing any S3 operations within the designated bucket, unless the request is initiated from the specified range of IP addresses:
For more information on bucket policy configurations, see Bucket Policy, supported bucket and object actions and condition values, and Retrieve Canonical User ID.
Last updated