Managed folders (original) (raw)

This page provides an overview of managed folders in Cloud Storage. Managed folders are a type of folder on which you can grant IAM roles, so you have more fine-grained access control over specific groups of objects within a bucket. Managed folders exist as resources within Cloud Storage and are different fromsimulated folders, which operate with a flat namespace.

IAM for managed folders

When you apply an IAM policy on a managed folder, the access granted in the policy applies to any object within the bucket that uses the managed folder path as a prefix in the object name. For example, if you grant a principal the Storage Object Viewer (roles/storage.objectViewer) role on a managed folder named example-managed-folder/, the principal can view any object within the example-managed-folder path, such asexample-managed-folder/dog.png or example-managed-folder/cat.jpeg. When you nest managed folders, the permissions granted through IAM policies are applied additively.

Managed folders can only be created in buckets that have uniform bucket-level access enabled.

Read the following pages for more information about managed folders:

Managed folder names

The name you give to a managed folder must meet the following requirements:

It is strongly recommended that you avoid the following in your managed folder names:

Considerations

When working with managed folders, note the following considerations:

What's next