Hello,
We need some guidance on how best to work this out. We are using Vault OSS raft integrated storage.
We were operating with premise of logging in the client ( token gets created ), client will read the secret and logging out ( token revoked )
Unfortunately, we came to know that size of raft.db and vault.db kept growing.
In looking through the forum, https://discuss.hashicorp.com/t/how-to-free-up-disk-space-for-deleted-destroyed-secrets-using-integ…, it seems boltDB (that’s used underneath the hood for these dbs), will not reduce the size of the .db files automatically when space is freed, and instead it keeps it reserved for future use. We found about bbolt utility ( GitHub - etcd-io/bbolt: An embedded key/value database for Go. ) which can be used to compact the size of the raft.db/vault.db file.
Is there a way for Hashicorp Vault to incorporate this utility so Administrators can execute the utility on demand ?
Please let us know.
Thanks