You can configure bucket policies to authorize other users to access your specific Object Storage Service (OSS) resources.

Scenarios

Bucket policies can be used for access authorization in the following scenarios:

  • You need to grant permissions to another Alibaba Cloud account or anonymous users to access or manage all resources or part of resources in a bucket.
  • You need to grant different permissions such as read-only, read/write, or complete management to the RAM users of the same Alibaba Cloud to access or manage resources in your bucket.

Implementation methods

The following table describes the methods that you can use to configure bucket policies in different scenarios.

Implementation method Description
Console
ossutil bucket-policy
SDKs for different programming languages