Google 存储只写(不可删除)

Oli*_*ier 4 acl role google-cloud-storage google-cloud-platform

我想使用谷歌存储来备份我的数据库。但是,出于安全原因,我想使用具有只写角色的“服务帐户”。

不过这个角色好像也可以删除物体啊!那么我的问题是:我们能否让一个桶真正做到“只写,不删除”?当然,如何?

Eva*_*nes 5

现在,通过 Google Cloud Storage Object Creator 角色可以实现这一点roles/storage.objectCreator

https://cloud.google.com/iam/docs/understanding-roles#storage.objectCreator