Crate read_secret
source ·Expand description
This rust library provides an easy way to read secrets from your environment and file. It also allows you to use external command like GPG to read keys.
Enums
- Method to decrypt a encoded secret
- Type of Secret:
Functions
- Get a value of the given environment variable. If the given environment variable doesn’t exist, env::VarError will be returned.
- path relative to project root or an absolute path
- Provide an common entry to read secret