Versioning Configuration

Last updated: 2019-09-27 12:24:12

PDF

Use Cases

By enabling versioning, you can store multiple versions of an object in a bucket and retrieve, delete, or restore a specified version.
For more information, see Versioning Overview.

Only the root account and authorized sub-accounts can configure the versioning state of a bucket.

Directions

Configuring via the COS Console

You can refer to Setting Versioning to learn how to encrypt objects in the console.

Configuring via REST API

You can use the REST API to configure versioning and manage objects in buckets with different versioning states. For more information, see the following API documentation:

Configuring with SDK

You can directly call the Versioning method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: