Difference between revisions of "Google Cloud Storage (GCS)"
Jump to navigation
Jump to search
(16 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
* <code>[[gsutil ls]]</code> | * <code>[[gsutil ls]]</code> | ||
+ | ** <code>[[gsutil ls -L -b gs://your-bucket-name/]]</code> | ||
* <code>[[gsutil cp]]</code> | * <code>[[gsutil cp]]</code> | ||
* <code>[[gsutil mb]]</code> | * <code>[[gsutil mb]]</code> | ||
Line 8: | Line 9: | ||
* <code>[[gsutil config]]</code> | * <code>[[gsutil config]]</code> | ||
* <code>[[gsutil signurl]]</code> | * <code>[[gsutil signurl]]</code> | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[To add conditions, switch the bucket from fine-grained to uniform bucket-level access control]]</code> | ||
+ | * <code>[[Additional permissions required to view this bucket's metadata: Ask a bucket owner to grant you 'storage.buckets.get' and 'storage.buckets.getIamPolicy' permissions (e.g., by giving your account the IAM Storage Admin role).]]</code> | ||
== Related == | == Related == | ||
Line 13: | Line 18: | ||
* [[Terraform backend: gcs]] | * [[Terraform backend: gcs]] | ||
* Apply additional restrictions to a bucket: https://tsmx.net/accessing-a-single-bucket-in-gcs/ | * Apply additional restrictions to a bucket: https://tsmx.net/accessing-a-single-bucket-in-gcs/ | ||
− | |||
* [[AWS S3]] | * [[AWS S3]] | ||
+ | * [[GCS Bucket|Bucket]], [[object]], [[folder]] | ||
+ | * [[Uniform bucket-level access]]: [[IAM Conditions]] | ||
+ | * [[ACL]]: <code>[[gsutil acl]]</code> | ||
+ | * <code>[[Storage Admin]], [[Storage Object Admin]] </code> | ||
+ | * [[GCP storage]] | ||
== See also == | == See also == | ||
+ | * {{gsutil ls}} | ||
+ | * {{gsutil config}} | ||
* {{gsutil}} | * {{gsutil}} | ||
* {{GCS}} | * {{GCS}} | ||
[[Category:GCP]] | [[Category:GCP]] | ||
+ | [[Category:GCS]] | ||
[[Category:Object storage]] | [[Category:Object storage]] |
Latest revision as of 08:27, 7 November 2022
Errors[edit]
To add conditions, switch the bucket from fine-grained to uniform bucket-level access control
Additional permissions required to view this bucket's metadata: Ask a bucket owner to grant you 'storage.buckets.get' and 'storage.buckets.getIamPolicy' permissions (e.g., by giving your account the IAM Storage Admin role).
Related[edit]
- GCS Object versioning
- Terraform backend: gcs
- Apply additional restrictions to a bucket: https://tsmx.net/accessing-a-single-bucket-in-gcs/
- AWS S3
- Bucket, object, folder
- Uniform bucket-level access: IAM Conditions
- ACL:
gsutil acl
Storage Admin, Storage Object Admin
- GCP storage
See also[edit]
gsutil ls, gsutil ls -L,
gsutil config, -r, -w, -f, -e, --help
,$HOME/.boto
gsutil
[config | singurl | mb | iam | cp | ls | acl | defacl | ubla | du | cors | --help
],$HOME/.boto, Cloud Shell
- GCS, GCS Bucket, permissions, GCS Object versioning,
gsutil
, Folder (Object Storage), GCS lifecycle,gcsfuse
, Storage Admin
Advertising: