桶相关授权项
权限 |
对应API接口 |
授权项(Action) |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
列举全部桶 |
obs:bucket:ListAllMyBuckets |
√ |
√ |
|
创建桶 |
obs:bucket:CreateBucket |
√ |
√ |
|
列举桶内对象 |
obs:bucket:ListBucket |
√ |
√ |
|
列举桶内多版本对象 |
obs:bucket:ListBucketVersions |
√ |
√ |
|
判断桶是否存在并获取桶的元数据 |
obs:bucket:HeadBucket |
√ |
√ |
|
获取桶位置 |
obs:bucket:GetBucketLocation |
√ |
√ |
|
删除桶 |
obs:bucket:DeleteBucket |
√ |
√ |
|
设置桶策略 |
obs:bucket:PutBucketPolicy |
√ |
√ |
|
获取桶策略配置的相关信息 |
obs:bucket:GetBucketPolicy |
√ |
√ |
|
删除桶策略 |
obs:bucket:DeleteBucketPolicy |
√ |
√ |
|
设置桶ACL |
obs:bucket:PutBucketAcl |
√ |
√ |
|
获取桶ACL的相关信息 |
obs:bucket:GetBucketAcl |
√ |
√ |
|
设置桶日志记录 |
obs:bucket:PutBucketLogging |
√ |
√ |
|
获取桶日志记录的相关信息 |
obs:bucket:GetBucketLogging |
√ |
√ |
|
设置和删除桶生命周期规则 |
obs:bucket:PutLifecycleConfiguration |
√ |
√ |
|
获取桶生命周期规则 |
obs:bucket:GetLifecycleConfiguration |
√ |
√ |
|
设置多版本 |
obs:bucket:PutBucketVersioning |
√ |
√ |
|
获取桶多版本的相关信息 |
obs:bucket:GetBucketVersioning |
√ |
√ |
|
设置桶的事件通知 |
obs:bucket:PutBucketNotification |
√ |
√ |
|
获取桶的事件通知 |
obs:bucket:GetBucketNotification |
√ |
√ |
|
设置桶默认存储类型 |
obs:bucket:PutBucketStoragePolicy |
√ |
√ |
|
获取桶默认存储类型 |
obs:bucket:GetBucketStoragePolicy |
√ |
√ |
|
设置桶标签 |
obs:bucket:PutBucketTagging |
√ |
√ |
|
获取桶标签 |
obs:bucket:GetBucketTagging |
√ |
√ |
|
删除桶标签 |
obs:bucket:DeleteBucketTagging |
√ |
√ |
|
设置桶配额 |
obs:bucket:PutBucketQuota |
√ |
√ |
|
获取桶配额 |
obs:bucket:GetBucketQuota |
√ |
√ |
|
获取桶存量信息 |
obs:bucket:GetBucketStorage |
√ |
√ |
|
设置桶的自定义域名 |
obs:bucket:PutBucketCustomDomainConfiguration |
√ |
√ |
|
获取桶的自定义域名 |
obs:bucket:GetBucketCustomDomainConfiguration |
√ |
√ |
|
删除桶的自定义域名 |
obs:bucket:DeleteBucketCustomDomainConfiguration |
√ |
√ |
|
设置和删除桶的加密配置 |
obs:bucket:PutEncryptionConfiguration |
√ |
√ |
|
获取桶的加密配置 |
obs:bucket:GetEncryptionConfiguration |
√ |
√ |
|
设置桶的静态网站托管 |
obs:bucket:PutBucketWebsite |
√ |
√ |
|
获取桶的静态网站配置的相关信息 |
obs:bucket:GetBucketWebsite |
√ |
√ |
|
删除桶的静态网站托管配置 |
obs:bucket:DeleteBucketWebsite |
√ |
√ |
|
设置和删除桶CORS |
obs:bucket:PutBucketCORS |
√ |
√ |
|
获取桶CORS配置的相关信息 |
obs:bucket:GetBucketCORS |
√ |
√ |
|
配置桶级默认WORM策略 |
obs:bucket:PutBucketObjectLockConfiguration |
√ |
√ |
|
获取桶级默认WORM策略 |
obs:bucket:GetBucketObjectLockConfiguration |
√ |
√ |
|
列举桶中已初始化多段任务 |
obs:bucket:ListBucketMultipartUploads |
√ |
√ |