Skip to main content

Module config

Module config 

Source
Expand description

Configuration types.

Structs§

AuthsConfig
Top-level ~/.auths/config.toml structure.
EnvironmentConfig
Full environment configuration for an Auths process.
EnvironmentConfigBuilder
Builder for EnvironmentConfig — use in tests to avoid env var manipulation.
KeychainConfig
Keychain backend configuration, typically sourced from environment variables.
PassphraseConfig
Passphrase section of ~/.auths/config.toml.

Enums§

PassphraseCachePolicy
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.