Updated on 2023-07-17 GMT+08:00

Permissions Control

Scenarios

By default, OBS resources (buckets and objects) are private. Only resource owners can access their OBS resources. Without authorization, other users cannot access your OBS resources. OBS permission control means to grant permissions to other accounts or IAM users by editing access policies. For example, if you have a bucket, you can authorize another IAM user to upload objects to your bucket. You can also open buckets to the public, so that anyone can access your buckets over the Internet. OBS offers multiple methods to help you to assign resource permissions to others. Resource owners can formulate different permissions control policies based on service requirements to ensure data security.

How to Use

You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to configure permissions.

Tool

Reference

OBS Console

Permission Control

SDKs

OBS supports software development kits (SDKs) in multiple languages. For details, see the corresponding developer guide on the SDK Overview page.

API

Permissions and Supported Actions

Configuring a Bucket Policy

Configuring a Bucket ACL

Configuring an Object ACL

OBS Browser+

-

obsutil

Setting Bucket Properties

Setting Object Properties