s0
An S3-compatible authorization gateway that applies an OPA/ABAC policy to every request before re-issuing it to storage under a per-tenant identity.
The native access control of object storage stops at the bucket and the key. Our clients need to decide by attribute (who, from where, on which object, at what time) and to keep one named audit trail whatever the backend. So s0 terminates the S3 protocol itself: the request is deserialized into a typed value, an OPA decision is made on that value, and the same value is re-issued to storage under a per-tenant identity. Of the 99 protocol operations, 24 are enforced; the other 75 are refused, unless explicitly delegated to a control service, and a test fails if the operation table and the documentation drift apart.
- Size
- 30,980 lines of Rust · 68 files
- Licence
- BUSL-1.1 · Apache-2.0 au 18 novembre 2030
- Our role
- This is not a byte proxy with an authorization hook bolted on: the request is deserialized into a typed value, the decision is made on that value, and the same value is re-issued to storage. Of the 99 protocol operations, 24 are enforced and forwarded; the other 75 are refused, unless explicitly delegated to a control service. A test fails if the table and the documentation drift apart.