nav-img
Advanced

Bucket Actions

Table 1 Bucket actions

Permission

API

Action

IAM Project

Enterprise Project

Listing all buckets

obs:bucket:ListAllMyBuckets

Supported

Supported

Creating a bucket

obs:bucket:CreateBucket

Supported

Supported

Listing objects in a bucket

obs:bucket:ListBucket

Supported

Supported

Listing object versions in a bucket

obs:bucket:ListBucketVersions

Supported

Supported

Determining whether a bucket exists and obtaining the bucket metadata

obs:bucket:HeadBucket

Supported

Supported

Obtaining the bucket location

obs:bucket:GetBucketLocation

Supported

Supported

Deleting a bucket

obs:bucket:DeleteBucket

Supported

Supported

Configuring a bucket policy

obs:bucket:PutBucketPolicy

Supported

Supported

Obtain the bucket policy configurations

obs:bucket:GetBucketPolicy

Supported

Supported

Deleting a bucket policy

obs:bucket:DeleteBucketPolicy

Supported

Supported

Configuring the bucket ACL

obs:bucket:PutBucketAcl

Supported

Supported

Obtaining the bucket ACL information

obs:bucket:GetBucketAcl

Supported

Supported

Configuring logging for a bucket

obs:bucket:PutBucketLogging

Supported

Supported

Obtaining the logging configurations of a bucket

obs:bucket:GetBucketLogging

Supported

Supported

Configuring or deleting a lifecycle rule

obs:bucket:PutLifecycleConfiguration

Supported

Supported

Obtaining the lifecycle rule configurations

obs:bucket:GetLifecycleConfiguration

Supported

Supported

Configuring versioning for a bucket

obs:bucket:PutBucketVersioning

Supported

Supported

Obtaining the versioning configurations of a bucket

obs:bucket:GetBucketVersioning

Supported

Supported

Configuring event notifications for a bucket

obs:bucket:PutBucketNotification

Supported

Supported

Obtaining the event notification configurations of a bucket

obs:bucket:GetBucketNotification

Supported

Supported

Configuring storage class for a bucket

obs:bucket:PutBucketStoragePolicy

Supported

Supported

Obtaining the storage class of a bucket

obs:bucket:GetBucketStoragePolicy

Supported

Supported

Adding tags to a bucket

obs:bucket:PutBucketTagging

Supported

Supported

Obtaining bucket tags

obs:bucket:GetBucketTagging

Supported

Supported

Deleting bucket tags

obs:bucket:DeleteBucketTagging

Supported

Supported

Limiting storage capacity for a bucket

obs:bucket:PutBucketQuota

Supported

Supported

Querying the storage capacity limit of a bucket

obs:bucket:GetBucketQuota

Supported

Supported

Querying the used capacity of a bucket

obs:bucket:GetBucketStorage

Supported

Supported

Configuring a user-defined domain name for a bucket

obs:bucket:PutBucketCustomDomainConfiguration

Supported

Supported

Obtaining the user-defined domain name of a bucket

obs:bucket:GetBucketCustomDomainConfiguration

Supported

Supported

Deleting the user-defined domain name of a bucket

obs:bucket:DeleteBucketCustomDomainConfiguration

Supported

Supported

Configuring or deleting encryption for a bucket

obs:bucket:PutEncryptionConfiguration

Supported

Supported

Obtaining the encryption configurations of a bucket

obs:bucket:GetEncryptionConfiguration

Supported

Supported

Configuring static website hosting for a bucket

obs:bucket:PutBucketWebsite

Supported

Supported

Obtaining the static website hosting configurations of a bucket

obs:bucket:GetBucketWebsite

Supported

Supported

Deleting the static website hosting configurations of a bucket

obs:bucket:DeleteBucketWebsite

Supported

Supported

Configuring or deleting CORS rules for a bucket

obs:bucket:PutBucketCORS

Supported

Supported

Obtaining the CORS configurations of a bucket

obs:bucket:GetBucketCORS

Supported

Supported

Configuring a default WORM policy for a bucket

obs:bucket:PutBucketObjectLockConfiguration

Supported

Supported

Obtaining the default WORM policy of a bucket

obs:bucket:GetBucketObjectLockConfiguration

Supported

Supported

Listing initiated multipart uploads in a bucket

obs:bucket:ListBucketMultipartUploads

Supported

Supported