As expected, when berglas-python update the blob content on GCS the permissions are overwritten by the upload process. This PR makes berglas-python act the same way as Berglas does. Updating the permissions when the object is updated.
Preserving the IAM policy from blob objects while updating them
ensuring the IAM policy for the blob object will be updated only if the file already exists.
As expected, when berglas-python update the blob content on GCS the permissions are overwritten by the upload process. This PR makes berglas-python act the same way as Berglas does. Updating the permissions when the object is updated.