8 releases (4 breaking)

0.5.0 Oct 5, 2023
0.4.1 Apr 5, 2022
0.4.0 Mar 29, 2022
0.3.0 Mar 3, 2022
0.1.2 Feb 12, 2022

#450 in Configuration

38 downloads per month
Used in bonsaidb


26K SLoC

BonsaiDb S3 KeyStorage

This crate provides BonsaiDb a VaultKeyStorage trait implementation that is compatible with any S3-compatible storage service.


VaultKeyStorage using S3-compatible storage.

This is the recommended method for securing your BonsaiDb database. There are many ways to acquire secure, inexpensive S3-compatible storage, such as Backblaze B2.

Do not configure your bucket with public access. You should only allow access from the IP addresses that your BonsaiDb server(s) are hosted on, or only allow authenticated access.

To use this, specify the vault_key_storage configuration parameter:

let directory = TestDirectory::new("bonsaidb-keystorage-s3-basic");
let configuration = StorageConfiguration::new(&directory)

The API calls are performed by the aws-sdk-s3 crate.


~794K SLoC