Updated on 2024-04-15 GMT+08:00

Bucket Actions

Table 1 Bucket actions

Permission

API

Action

IAM Project

Listing all buckets

Listing Buckets

obs:bucket:ListAllMyBuckets

Supported

Creating a bucket

Creating a Bucket

obs:bucket:CreateBucket

Supported

Listing objects in a bucket

Listing Objects in a Bucket

obs:bucket:ListBucket

Supported

Listing object versions in a bucket

Listing Objects in a Bucket

obs:bucket:ListBucketVersions

Supported

Determining whether a bucket exists and obtaining the bucket metadata

Obtaining Bucket Metadata

obs:bucket:HeadBucket

Supported

Obtaining the bucket location

Obtaining Bucket Location

obs:bucket:GetBucketLocation

Supported

Deleting a bucket

Deleting Buckets

obs:bucket:DeleteBucket

Supported

Configuring a bucket policy

Configuring a Bucket Policy

obs:bucket:PutBucketPolicy

Supported

Obtain the bucket policy configurations

Obtaining Bucket Policy Information

obs:bucket:GetBucketPolicy

Supported

Deleting a bucket policy

Deleting a Bucket Policy

obs:bucket:DeleteBucketPolicy

Supported

Configuring the bucket ACL

Configuring a Bucket ACL

obs:bucket:PutBucketAcl

Supported

Obtaining the bucket ACL information

Obtaining Bucket ACL Information

obs:bucket:GetBucketAcl

Supported

Configuring logging for a bucket

Configuring Logging for a Bucket

obs:bucket:PutBucketLogging

Supported

Obtaining the logging configurations of a bucket

Obtaining a Bucket Logging Configuration

obs:bucket:GetBucketLogging

Supported

Configuring or deleting a lifecycle rule

Configuring Bucket Lifecycle Rules

Deleting Lifecycle Rules

obs:bucket:PutLifecycleConfiguration

Supported

Obtaining the lifecycle rule configurations

Obtaining Bucket Lifecycle Configuration

obs:bucket:GetLifecycleConfiguration

Supported

Configuring versioning for a bucket

Configuring Versioning for a Bucket

obs:bucket:PutBucketVersioning

Supported

Obtaining the versioning configurations of a bucket

Obtaining Bucket Versioning Status

obs:bucket:GetBucketVersioning

Supported

Configuring event notifications for a bucket

Configuring Event Notification for a Bucket

obs:bucket:PutBucketNotification

Supported

Obtaining the event notification configurations of a bucket

Obtaining the Event Notification Configuration of a Bucket

obs:bucket:GetBucketNotification

Supported

Configuring cross-region replication for a bucket

Configuring Cross-Region Replication for a Bucket

obs:bucket:PutReplicationConfiguration

Supported

Obtaining the cross-region replication configuration of a bucket

Obtaining the Cross-Region Replication Configuration of a Bucket

obs:bucket:GetReplicationConfiguration

Supported

Deleting the cross-region replication configuration of a bucket

Deleting the Cross-Region Replication Configuration of a Bucket

obs:bucket:DeleteReplicationConfiguration

Supported

Adding tags to a bucket

Configuring Tags for a Bucket

obs:bucket:PutBucketTagging

Supported

Obtaining bucket tags

Obtaining Bucket Tags

obs:bucket:GetBucketTagging

Supported

Deleting bucket tags

Deleting Tags

obs:bucket:DeleteBucketTagging

Supported

Limiting storage capacity for a bucket

Configuring Bucket Storage Quota

obs:bucket:PutBucketQuota

Supported

Querying the storage capacity limit of a bucket

Querying Bucket Storage Quota

obs:bucket:GetBucketQuota

Supported

Querying the used capacity of a bucket

Obtaining Storage Information of a Bucket

obs:bucket:GetBucketStorage

Supported

Configuring inventories for a bucket

Configuring Bucket Inventories

obs:bucket:PutBucketInventoryConfiguration

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

Deleting bucket inventories

Deleting Bucket Inventories

obs:bucket:DeleteBucketInventoryConfiguration

Supported

Configuring a user-defined domain name for a bucket

Configuring a Custom Domain Name for a Bucket

obs:bucket:PutBucketCustomDomainConfiguration

Supported

Obtaining the user-defined domain name of a bucket

Obtaining the Custom Domain Name of a Bucket

obs:bucket:GetBucketCustomDomainConfiguration

Supported

Deleting the user-defined domain name of a bucket

Deleting the Custom Domain Name of a Bucket

obs:bucket:DeleteBucketCustomDomainConfiguration

Supported

Configuring static website hosting for a bucket

Configuring Static Website Hosting for a Bucket

obs:bucket:PutBucketWebsite

Supported

Obtaining the static website hosting configurations of a bucket

Obtaining the Static Website Hosting Configuration of a Bucket

obs:bucket:GetBucketWebsite

Supported

Deleting the static website hosting configurations of a bucket

Deleting the Static Website Hosting Configuration of a Bucket

obs:bucket:DeleteBucketWebsite

Supported

Configuring or deleting CORS rules for a bucket

Configuring Bucket CORS

Deleting the CORS Configuration of a Bucket

obs:bucket:PutBucketCORS

Supported

Obtaining the CORS configurations of a bucket

Obtaining the CORS Configuration of a Bucket

obs:bucket:GetBucketCORS

Supported

Listing initiated multipart uploads in a bucket

Listing Initiated Multipart Uploads in a Bucket

obs:bucket:ListBucketMultipartUploads

Supported