Append-only bucket permissions #1002

Open
opened 2025-04-02 18:36:32 +00:00 by stephie · 0 comments

I'd like to be able to issue "append-only" access tokens to a bucket where only non-destructive write options are allowed. For example DeleteObject requests would be denied and PutObject requests which overwrite existing objects would fail. The usecase is for a shared content-addressed backup storage where machines can backup independently in parallel to the same bucket, but if one machine is compromised it shouldn't be able to delete or overwrite any existing blocks. Backup pruning then takes place on the same machine hosting garage, reducing attack surface to the minimum. Object versioning would also solve this usecase, but that feature has a larger scope.

I'd like to be able to issue "append-only" access tokens to a bucket where only non-destructive write options are allowed. For example DeleteObject requests would be denied and PutObject requests which overwrite existing objects would fail. The usecase is for a shared content-addressed backup storage where machines can backup independently in parallel to the same bucket, but if one machine is compromised it shouldn't be able to delete or overwrite any existing blocks. Backup pruning then takes place on the same machine hosting garage, reducing attack surface to the minimum. Object versioning would also solve this usecase, but that feature has a larger scope.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#1002
No description provided.