Help Center/ Object Storage Service/ FAQs/ Access Control/ What Are the Differences Between Using an IAM Permission and a Bucket Policy in Access Control?
Updated on 2022-09-27 GMT+08:00

What Are the Differences Between Using an IAM Permission and a Bucket Policy in Access Control?

IAM permissions apply to cloud resources. With the OBS permissions, an IAM policy can be applied to all buckets and objects, or it can be applied only to specified buckets and objects. IAM policies are recommended if you assign permissions to IAM users of the same account.

A bucket policy only applies to the bucket the policy was configured for.