Versioning Configuration

Last updated: 2019-12-13 19:34:58


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.


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: