Updated on 2024-01-02 GMT+08:00

Bucket-Related Actions

Table 1 Bucket-related actions

Action

API

Permission

IAM Project

Enterprise Project

List all buckets.

Listing Buckets

obs:bucket:ListAllMyBuckets

Create a bucket.

Creating a Bucket

obs:bucket:CreateBucket

List objects in a bucket.

Listing Objects in a Bucket

obs:bucket:ListBucket

List object versions in a bucket.

Listing Objects in a Bucket

obs:bucket:ListBucketVersions

Check whether a bucket exists and obtain its metadata.

Obtaining Bucket Metadata

obs:bucket:HeadBucket

Obtain the bucket location.

Obtaining Bucket Location

obs:bucket:GetBucketLocation

Delete a bucket.

Deleting Buckets

obs:bucket:DeleteBucket

Configure a bucket policy.

Configuring a Bucket Policy

obs:bucket:PutBucketPolicy

Obtain the bucket policy information.

Obtaining Bucket Policy Information

obs:bucket:GetBucketPolicy

Delete a bucket policy.

Deleting a Bucket Policy

obs:bucket:DeleteBucketPolicy

Configure a bucket ACL.

Configuring a Bucket ACL

obs:bucket:PutBucketAcl

Obtain the bucket ACL information.

Obtaining Bucket ACL Information

obs:bucket:GetBucketAcl

Configure logging for a bucket.

Configuring Logging for a Bucket

obs:bucket:PutBucketLogging

Obtain the bucket logging configuration.

Obtaining a Bucket Logging Configuration

obs:bucket:GetBucketLogging

Configure or delete a lifecycle rule.

Configuring Bucket Lifecycle Rules

Deleting Lifecycle Rules

obs:bucket:PutLifecycleConfiguration

Obtain the lifecycle rule configuration.

Obtaining Bucket Lifecycle Configuration

obs:bucket:GetLifecycleConfiguration

Configure versioning for a bucket.

Configuring Versioning for a Bucket

obs:bucket:PutBucketVersioning

Obtain the bucket versioning configuration.

Obtaining Bucket Versioning Status

obs:bucket:GetBucketVersioning

Configure event notifications for a bucket.

Configuring Event Notification for a Bucket

obs:bucket:PutBucketNotification

Obtain the event notification configuration of a bucket.

Obtaining the Event Notification Configuration of a Bucket

obs:bucket:GetBucketNotification

Configure a storage class for a bucket.

Configuring Storage Class for a Bucket

obs:bucket:PutBucketStoragePolicy

Obtain the bucket storage class.

Obtaining Bucket Storage Class Information

obs:bucket:GetBucketStoragePolicy

Configure tags for a bucket.

Configuring Tags for a Bucket

obs:bucket:PutBucketTagging

Obtain bucket tags.

Obtaining Bucket Tags

obs:bucket:GetBucketTagging

Delete bucket tags.

Deleting Tags

obs:bucket:DeleteBucketTagging

Configure a storage quota for a bucket.

Configuring Bucket Storage Quota

obs:bucket:PutBucketQuota

Query the bucket storage quota.

Querying Bucket Storage Quota

obs:bucket:GetBucketQuota

Obtain information about the used space in a bucket.

Obtaining Storage Information of a Bucket

obs:bucket:GetBucketStorage

Configure a custom domain name for a bucket.

Configuring a Custom Domain Name for a Bucket

obs:bucket:PutBucketCustomDomainConfiguration

Obtain the custom domain name of a bucket.

Obtaining the Custom Domain Name of a Bucket

obs:bucket:GetBucketCustomDomainConfiguration

Delete a custom domain name of a bucket.

Deleting the Custom Domain Name of a Bucket

obs:bucket:DeleteBucketCustomDomainConfiguration

Configure or delete the bucket encryption configuration.

Configuring Bucket Encryption

Deleting the Encryption Configuration of a Bucket

obs:bucket:PutEncryptionConfiguration

Obtain the bucket encryption configuration.

Obtaining Bucket Encryption Configuration

obs:bucket:GetEncryptionConfiguration

Configure static website hosting for a bucket.

Configuring Static Website Hosting for a Bucket

obs:bucket:PutBucketWebsite

Obtain the static website hosting configuration of a bucket.

Obtaining the Static Website Hosting Configuration of a Bucket

obs:bucket:GetBucketWebsite

Delete the static website hosting configuration of a bucket.

Deleting the Static Website Hosting Configuration of a Bucket

obs:bucket:DeleteBucketWebsite

Configure or delete the CORS configuration of a bucket.

Configuring Bucket CORS

Deleting the CORS Configuration of a Bucket

obs:bucket:PutBucketCORS

Obtain the CORS configuration of a bucket.

Obtaining the CORS Configuration of a Bucket

obs:bucket:GetBucketCORS

Configure a default WORM policy for a bucket.

Configuring a Default WORM Policy for a Bucket

obs:bucket:PutBucketObjectLockConfiguration

Obtain the default WORM policy of a bucket.

Obtaining the Default WORM Policy of a Bucket

obs:bucket:GetBucketObjectLockConfiguration

List initiated multipart uploads in a bucket.

Listing Initiated Multipart Uploads in a Bucket

obs:bucket:ListBucketMultipartUploads