Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google storage write only (no delete)

I would like to use google storage for backing up my database. However, for security reason, i would like to use a "service account" with a write only role.

But it seems like this role can also delete objects! So my question here: can we make a bucket truly "write only, no deletion"? And of course how?

like image 977
Olivier Avatar asked Sep 01 '25 06:09

Olivier


1 Answers

This is now possible with the Google Cloud Storage Object Creator role roles/storage.objectCreator.

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

like image 195
Evan Jones Avatar answered Sep 02 '25 20:09

Evan Jones