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§
- Decrypt
Method - Method to decrypt a encoded secret
- Secret
Type - Type of Secret:
Functions§
- read_
env - Get a value of the given environment variable. If the given environment variable doesn’t exist, env::VarError will be returned.
- read_
file - path relative to project root or an absolute path
- read_
secret - Provide an common entry to read secret