Updated on 2024-09-29 GMT+08:00

Bucket Actions

Table 1 Bucket actions

Permission

API

Action

IAM Project

Enterprise Project

Listing all buckets

Listing Buckets

obs:bucket:ListAllMyBuckets

Supported

Supported

Creating a bucket

Creating a Bucket

obs:bucket:CreateBucket

Supported

Supported

Listing objects in a bucket

Listing Objects in a Bucket

obs:bucket:ListBucket

Supported

Supported

Listing object versions in a bucket

Listing Objects in a Bucket

obs:bucket:ListBucketVersions

Supported

Supported

Determining whether a bucket exists and obtaining the bucket metadata

Obtaining Bucket Metadata

obs:bucket:HeadBucket

Supported

Supported

Obtaining the bucket location

Obtaining Bucket Location

obs:bucket:GetBucketLocation

Supported

Supported

Deleting a bucket

Deleting Buckets

obs:bucket:DeleteBucket

Supported

Supported

Configuring a bucket policy

Configuring a Bucket Policy

obs:bucket:PutBucketPolicy

Supported

Supported

Obtain the bucket policy configurations

Obtaining Bucket Policy Information

obs:bucket:GetBucketPolicy

Supported

Supported

Deleting a bucket policy

Deleting a Bucket Policy

obs:bucket:DeleteBucketPolicy

Supported

Supported

Configuring the bucket ACL

Configuring a Bucket ACL

obs:bucket:PutBucketAcl

Supported

Supported

Obtaining the bucket ACL information

Obtaining Bucket ACL Information

obs:bucket:GetBucketAcl

Supported

Supported

Configuring logging for a bucket

Configuring Logging for a Bucket

obs:bucket:PutBucketLogging

Supported

Supported

Obtaining the logging configurations of a bucket

Obtaining a Bucket Logging Configuration

obs:bucket:GetBucketLogging

Supported

Supported

Configuring or deleting a lifecycle rule

Configuring Bucket Lifecycle Rules

Deleting Lifecycle Rules

obs:bucket:PutLifecycleConfiguration

Supported

Supported

Obtaining the lifecycle rule configurations

Obtaining Bucket Lifecycle Configuration

obs:bucket:GetLifecycleConfiguration

Supported

Supported

Configuring versioning for a bucket

Configuring Versioning for a Bucket

obs:bucket:PutBucketVersioning

Supported

Supported

Obtaining the versioning configurations of a bucket

Obtaining Bucket Versioning Status

obs:bucket:GetBucketVersioning

Supported

Supported

Configuring storage class for a bucket

Configuring Storage Class for a Bucket

obs:bucket:PutBucketStoragePolicy

Supported

Supported

Obtaining the storage class of a bucket

Obtaining Bucket Storage Class Information

obs:bucket:GetBucketStoragePolicy

Supported

Supported

Configuring cross-region replication for a bucket

Configuring Cross-Region Replication for a Bucket

obs:bucket:PutReplicationConfiguration

Supported

Supported

Obtaining the cross-region replication configuration of a bucket

Obtaining the Cross-Region Replication Configuration of a Bucket

obs:bucket:GetReplicationConfiguration

Supported

Supported

Deleting the cross-region replication configuration of a bucket

Deleting the Cross-Region Replication Configuration of a Bucket

obs:bucket:DeleteReplicationConfiguration

Supported

Supported

Adding tags to a bucket

Configuring Tags for a Bucket

obs:bucket:PutBucketTagging

Supported

Supported

Obtaining bucket tags

Obtaining Bucket Tags

obs:bucket:GetBucketTagging

Supported

Supported

Deleting bucket tags

Deleting Tags

obs:bucket:DeleteBucketTagging

Supported

Supported

Limiting storage capacity for a bucket

Configuring Bucket Storage Quota

obs:bucket:PutBucketQuota

Supported

Supported

Querying the storage capacity limit of a bucket

Querying Bucket Storage Quota

obs:bucket:GetBucketQuota

Supported

Supported

Querying the used capacity of a bucket

Obtaining Storage Information of a Bucket

obs:bucket:GetBucketStorage

Supported

Supported

Configuring inventories for a bucket

Configuring Bucket Inventories

obs:bucket:PutBucketInventoryConfiguration

Supported

Supported

Obtaining a specific inventory or listing all inventories of a bucket

Obtaining a Specific Inventory of a Bucket

Listing All Inventories of a Bucket

obs:bucket:GetBucketInventoryConfiguration

Supported

Supported

Deleting bucket inventories

Deleting Bucket Inventories

obs:bucket:DeleteBucketInventoryConfiguration

Supported

Supported

Configuring a user-defined domain name for a bucket

Configuring a Custom Domain Name for a Bucket

obs:bucket:PutBucketCustomDomainConfiguration

Supported

Supported

Obtaining the user-defined domain name of a bucket

Obtaining the Custom Domain Name of a Bucket

obs:bucket:GetBucketCustomDomainConfiguration

Supported

Supported

Deleting the user-defined domain name of a bucket

Deleting the Custom Domain Name of a Bucket

obs:bucket:DeleteBucketCustomDomainConfiguration

Supported

Supported

Configuring or deleting encryption for a bucket

Configuring Bucket Encryption

Deleting the Encryption Configuration of a Bucket

obs:bucket:PutEncryptionConfiguration

Supported

Supported

Obtaining the encryption configurations of a bucket

Obtaining Bucket Encryption Configuration

obs:bucket:GetEncryptionConfiguration

Supported

Supported

Configuring direct reading for a bucket

Setting the Direct Reading Policy for Archive Objects in a Bucket

obs:bucket:PutDirectColdAccessConfiguration

Supported

Supported

Obtaining the direct reading configurations of a bucket

Obtaining the Direct Reading Policy of Archive Objects in a Bucket

obs:bucket:GetDirectColdAccessConfiguration

Supported

Supported

Deleting the direct reading configurations of a bucket

Deleting the Direct Reading Policy of Archive Objects in a Bucket

obs:bucket:DeleteDirectColdAccessConfiguration

Supported

Supported

Configuring static website hosting for a bucket

Configuring Static Website Hosting for a Bucket

obs:bucket:PutBucketWebsite

Supported

Supported

Obtaining the static website hosting configurations of a bucket

Obtaining the Static Website Hosting Configuration of a Bucket

obs:bucket:GetBucketWebsite

Supported

Supported

Deleting the static website hosting configurations of a bucket

Deleting the Static Website Hosting Configuration of a Bucket

obs:bucket:DeleteBucketWebsite

Supported

Supported

Configuring or deleting CORS rules for a bucket

Configuring Bucket CORS

Deleting the CORS Configuration of a Bucket

obs:bucket:PutBucketCORS

Supported

Supported

Obtaining the CORS configurations of a bucket

Obtaining the CORS Configuration of a Bucket

obs:bucket:GetBucketCORS

Supported

Supported

Configuring a default WORM policy for a bucket

Configuring a Default WORM Policy for a Bucket

obs:bucket:PutBucketObjectLockConfiguration

Supported

Supported

Obtaining the default WORM policy of a bucket

Obtaining the Default WORM Policy of a Bucket

obs:bucket:GetBucketObjectLockConfiguration

Supported

Supported

Listing initiated multipart uploads in a bucket

Listing Initiated Multipart Uploads in a Bucket

obs:bucket:ListBucketMultipartUploads

Supported

Supported