Anonymous access can now be configured by allowing specific S3 methods. Currently, this only includes `s3:HeadObject` and `s3:GetObject`. Umbrella grants can also be used that translate to lists of methods (`garage:ReadObject` -> [`s3:HeadObject`, `s3:GetObject`]. The CLI takes either a list of `--allow`ed methods, or a `--revoke-all`. `ReqCtx` is now represented by an enum of either an authenticated requests or an anonymous one. Handlers will take either one of those depending on whether they allow anonymous access or not. `ReqCtxEnum` implements `TryInto` to transform into the requested type (where building an anonymous context always works, but building an authenticated one only works if the request contained valid credentials). When building an anonymous context, the bucket anonymous configuration will be checked against the requested endpoint to check if all required methods are allowed anonymously.
Garage 
[ Website and documentation | Binary releases | Git repository | Matrix channel ]
Garage is an S3-compatible distributed object storage service designed for self-hosting at a small-to-medium scale.
Garage is designed for storage clusters composed of nodes running at different physical locations, in order to easily provide a storage service that replicates data at these different locations and stays available even when some servers are unreachable. Garage also focuses on being lightweight, easy to operate, and highly resilient to machine failures.
Garage is built by Deuxfleurs, an experimental small-scale self hosted service provider, which has been using it in production since its first release in 2020.
Learn more on our dedicated documentation pages:
Garage is entirely free software released under the terms of the AGPLv3.