IAM policies apply to cloud resources. With the OBS permissions, an IAM policy can be applied to all buckets and objects in OBS.
A bucket policy only applies to the bucket the policy was configured for.