Module config
Expand description
Module for structs used to configure various internal service clients.
Re-exports§
pub use docker_env_file::DockerEnvFile;pub use encrypt::EncryptConfig;pub use encrypt::EncryptConfigBuilder;pub use encrypt::EncryptConfigError;pub use errors::ConfigError;pub use console_config::*;pub use cts_config::*;pub use zero_kms_config::*;
Modules§
- console_
config - cts_
config - defaults
- Just a place to keep all of the default config values together. We’ll be thankful when we have to change one!
- docker_
env_ file - encrypt
- errors
- idp_
provider - paths
- Internal module for config-related path handling.
- vars
- This module defines all of the environment variables
used by
cipherstash-client. - zero_
kms_ config
Structs§
- Cipher
Stash Config File - Represents the standard configuration file usually named
cipherstash.toml. - Cipher
Stash Config File Builder - Builder (with a terribly long, Java like name) for the
cipherstash.tomlconfiguration file (used by stash CLI). - Cipher
Stash Secret Config File - Represents the
cipherstash.secret.tomlconfiguration file. - Cipher
Stash Secret Config File Builder - Builder (with a terribly long, Java like name) for the
cipherstash.secret.tomlconfiguration file (used by stash CLI). - EnvSource
- ConfigSource implementation for loading configuration from environment variables.
- File
Source - Specifies a configuration source that reads from a file and deserializes it into a type,
T. - TestEnv
- User
Config Source - Specifies the format for a user’s configuration file.
Usually located at
~/.cipherstash/config.toml. See the module-level documentation for more details.
Traits§
- Config
Source - Into
File Source - Any config source that can be serialized and deserialized to/from a file.