Expand description
Configuration types.
Structs§
- Auths
Config - Top-level
~/.auths/config.tomlstructure. - Environment
Config - Full environment configuration for an Auths process.
- Environment
Config Builder - Builder for
EnvironmentConfig— use in tests to avoid env var manipulation. - Keychain
Config - Keychain backend configuration, typically sourced from environment variables.
- Passphrase
Config - Passphrase section of
~/.auths/config.toml.
Enums§
- Passphrase
Cache Policy - Passphrase caching policy.
Functions§
- current_
algorithm - Returns the currently selected encryption algorithm.
- load_
config - Loads
~/.auths/config.toml, returning defaults on any error. - save_
config - Writes
~/.auths/config.toml. - set_
encryption_ algorithm - Sets the encryption algorithm to use globally.