objstore
objstore copied to clipboard
objstore: add experimental encryption wrapper
This PR attempts to add an encryption wrapper that defers to github.com/minio/sio
for encryption and decryption. This is useful when attempting to use Thanos in environments that need PCI DSS compliance.
- [x] I added CHANGELOG entry for this change.
- [ ] Change is not relevant to the end user.
Changes
- added optional encryption wrapper to buckets
Verification
- passes the acceptance tests
- built thanos with this fork and set up receiver, querier, store and pushed metrics into receiver using telegraf. querier pointing at store eventually showed the correct metrics, i verified that the contents of object storage are encrypted too.
README.md
changes were automatically created by make lint
Idk what block storage you are using but cortex has s3 with sse... maybe is worth looking at it:
https://github.com/cortexproject/cortex/blob/master/pkg/storage/bucket/sse_bucket_client.go
Idk what block storage you are using but cortex has s3 with sse... maybe is worth looking at it:
https://github.com/cortexproject/cortex/blob/master/pkg/storage/bucket/sse_bucket_client.go
I wanted to add client side encryption for situations where server side encryption is not an option though