ubla - Configure Uniform bucket-level access


gsutil ubla set <on|off> bucket_url...
gsutil ubla get bucket_url...


The ubla command is used to retrieve or configure the uniform bucket-level access setting of Cloud Storage bucket(s). This command has two sub-commands, get and set.


The ubla get command shows whether uniform bucket-level access is enabled for the specified Cloud Storage bucket(s).

Get Examples

Check if your buckets are using uniform bucket-level access:

gsutil ubla get gs://redbucket gs://bluebucket


The ubla set command enables or disables uniform bucket-level access for Cloud Storage buckets.

Set Examples

Configure your buckets to use uniform bucket-level access:

gsutil ubla set on gs://redbucket gs://bluebucket

Configure your buckets to NOT use uniform bucket-level access:

gsutil ubla set off gs://redbucket gs://bluebucket
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Storage
Need help? Visit our support page.