Updated on 2024-03-05 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 event notifications for a bucket

Configuring Event Notification for a Bucket

obs:bucket:PutBucketNotification

Supported

Supported

Obtaining the event notification configurations of a bucket

Obtaining the Event Notification Configuration of a Bucket

obs:bucket:GetBucketNotification

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

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 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 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

Listing initiated multipart uploads in a bucket

Listing Initiated Multipart Uploads in a Bucket

obs:bucket:ListBucketMultipartUploads

Supported

Supported