GCP write only access to bucket (GCS)

試著忘記壹切 提交于 2021-01-29 11:15:34

问题


We are trying to create different bucket for different source system, and give them access only to dump data on particular bucket. They should not have read access, i.e. they shouldnt be able to see hats there inside the bucket. Is it doable , if yes how ?


回答1:


You are probably looking for roles/storage.objectCreator role (take a look at IAM roles for Storage) :

Allows users to create objects. Does not give permission to view, delete, or overwrite objects.




回答2:


You can create a custom role for your project, which has only write access. Find storage permissions here. Then you can assign the created custom role to a person or service account with IAM.



来源:https://stackoverflow.com/questions/57147765/gcp-write-only-access-to-bucket-gcs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!