Soru

Zorluk: KolayConfiguring Storage Access Controls and Uniform Bucket-Level Access

A cloud engineer needs to safely transition an existing Google Cloud Storage bucket from fine-grained access control to Uniform Bucket-Level Access. What is the correct sequence of steps to complete this transition without disrupting user access?

  1. 1Audit existing object-level ACLs to identify all users and service accounts relying on fine-grained permissions.
  2. 2Grant equivalent bucket-level or project-level IAM roles (such as Storage Object Viewer or Storage Object Admin) to the identified users.
  3. 3Enable Uniform Bucket-Level Access on the Cloud Storage bucket to disable legacy ACLs and enforce IAM policies uniformly.

Cevap

The correct sequence is: first audit existing object ACLs, next grant equivalent IAM roles to those principals, and finally enable Uniform Bucket-Level Access on the bucket.
Migrating to Uniform Bucket-Level Access requires discovering existing ACL dependencies first, provisioning equivalent IAM permissions to affected users next, and lastly enabling Uniform Bucket-Level Access on the bucket to enforce IAM-only access control.

Adım Adım Çözüm

1
Audit current permissions
Identify all principals dependent on object ACLs.
Prevents accidental access loss when ACL support is removed.
2
Assign IAM roles
Ensure principals have required access via Cloud IAM.
Uniform Bucket-Level Access relies entirely on IAM permissions for authorization.
3
Enforce Uniform Bucket-Level Access
Disables legacy ACL evaluation for all objects in the bucket.
Enforces unified security management across all bucket objects.

Anahtar Kavram

Migration workflow from legacy ACLs to Uniform Bucket-Level Access (UBLA)
Bu soruyu puanla