Updated on 2024-02-18 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 storage class for a bucket

Configuring Storage Class for a Bucket

obs:bucket:PutBucketStoragePolicy

Supported

Obtaining the storage class of a bucket

Obtaining Bucket Storage Class Information

obs:bucket:GetBucketStoragePolicy

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 or deleting encryption for a bucket

Configuring Bucket Encryption

Deleting the Encryption Configuration of a Bucket

obs:bucket:PutEncryptionConfiguration

Supported

Obtaining the encryption configurations of a bucket

Obtaining Bucket Encryption Configuration

obs:bucket:GetEncryptionConfiguration

Supported

Configuring direct reading for a bucket

Setting the Direct Reading Policy for Archive Objects in a Bucket

obs:bucket:PutDirectColdAccessConfiguration

Supported

Obtaining the direct reading configurations of a bucket

Obtaining the Direct Reading Policy of Archive Objects in a Bucket

obs:bucket:GetDirectColdAccessConfiguration

Supported

Deleting the direct reading configurations of a bucket

Deleting the Direct Reading Policy of Archive Objects in a Bucket

obs:bucket:DeleteDirectColdAccessConfiguration

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