config-vault-source
An extension for the config crate that allows loading configurations from HashiCorp Vault.
Features
- Integration with the
configcrate through a customVaultSource - Support for HashiCorp Vault's KV1 & KV2 engine
- Secure loading of secrets through Vault's REST API
Installation
Add the dependency to your Cargo.toml:
[]
= { = "0.1.0", = ["async"]}
= { = "0.15.18", = ["async"] }
Or, to use sync API
[]
= { = "0.1.0"}
= { = "0.15.18" }
Basic usage
pub async
Documentation
For more information, check the complete documentation.
Requirements
An accessible HashiCorp Vault server (or compatible, e.g., RustyVault)
License
This project is licensed under the MIT License – see the LICENSE file for details.