Argelbargel / vault-raft-snapshot-agent

An agent which creates periodic snapshots of Vault's integrated raft storage and stores them locally or in remote storages as backup in case of system failure or user errors.
MIT License
8 stars 3 forks source link

Generic s3 storage #16

Closed Argelbargel closed 9 months ago

Argelbargel commented 9 months ago

The AWS Go SDK seems to be quite opinionated about how the storage should be addressed. The default AWS client config expects to address a bucket via https://-.

To allow storing snapshots in other S3 servers using simpler addressing schemes without making the aws-storage-configuration more complex, this adds a generic S3 storage which uses the MinIO SDK