[英]what would happen to ServiceAccount when we switch from Fine grain to Uniform in Google cloud
We are thinking of switching from Fine grain to Uniform in Google cloud.我们正在考虑在 Google 云中从 Fine grain 切换到 Uniform。 Not sure how the serviceaccounts would behave which are part of fine grained ACL list?
不确定作为细粒度 ACL 列表一部分的服务帐户的行为方式? Which they loose access?
他们失去了访问权限?
When you enable uniform bucket-level access on a bucket, Access Control Lists (ACLs) are disabled, and only bucket-level Cloud Identity and Access Management (Cloud IAM) permissions grant access to that bucket and the objects it contains.当您对存储桶启用统一的存储桶级别访问权限时,访问控制列表 (ACL) 会被禁用,并且只有存储桶级别的 Cloud Identity and Access Management (Cloud IAM) 权限会授予对该存储桶及其包含的对象的访问权限。 Since Project Editors and Owners roles do not include the "storage.objects.get" permission, they must be added manually.
由于项目编辑和所有者角色不包括“storage.objects.get”权限,因此必须手动添加。
If you would like to see the different types of roles that are associated with Cloud Storage permissions, this link will be helpful.如果您想查看与 Cloud Storage 权限关联的不同类型的角色, 此链接将很有帮助。
You can also review the documentation regarding Considerations when migrating and enabling uniform bucket-level access on an existing bucket.您还可以查看有关在现有存储桶上迁移和启用统一存储桶级别访问时的注意事项的文档。
When you enable uniform bucket-level access on an existing bucket, you should ensure that users and services that previously relied on ACLs for access have their permissions migrated to Cloud IAM.当您对现有存储桶启用统一存储桶级访问权限时,您应确保之前依赖 ACL 进行访问的用户和服务已将其权限迁移到 Cloud IAM。
When migrating to uniform bucket-level access, you should check to see if objects in the bucket are being accessed through the ACLs applied to them.迁移到统一存储桶级别访问时,您应该检查存储桶中的对象是否正在通过应用于它们的 ACL 进行访问。 To check this, Cloud Monitoring has a metric that tracks ACL usage.
为了检查这一点, Cloud Monitoring有一个跟踪 ACL 使用情况的指标。 If this metric indicates users or services rely on ACLs for access to your objects, you should assign Cloud IAM equivalents to the bucket before enabling uniform bucket-level access.
如果此指标表明用户或服务依赖 ACL 访问您的对象,您应该在启用统一的存储桶级别访问之前将Cloud IAM 等效项分配给存储桶。
Note : Once you enable uniform bucket-level access, you have 90 days to switch back to fine-grained access before uniform bucket-level access becomes permanent. 注意:启用统一存储桶级访问权限后,您有 90 天的时间切换回细粒度访问,然后统一存储桶级访问权限变为永久。
If this information was helpful, please mark this answer as accepted如果此信息有帮助,请将此答案标记为已接受
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.