Module config

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§

CipherStashConfigFile
Represents the standard configuration file usually named cipherstash.toml.
CipherStashConfigFileBuilder
Builder (with a terribly long, Java like name) for the cipherstash.toml configuration file (used by stash CLI).
CipherStashSecretConfigFile
Represents the cipherstash.secret.toml configuration file.
CipherStashSecretConfigFileBuilder
Builder (with a terribly long, Java like name) for the cipherstash.secret.toml configuration file (used by stash CLI).
EnvSource
ConfigSource implementation for loading configuration from environment variables.
FileSource
Specifies a configuration source that reads from a file and deserializes it into a type, T.
TestEnv
UserConfigSource
Specifies the format for a user’s configuration file. Usually located at ~/.cipherstash/config.toml. See the module-level documentation for more details.

Traits§

ConfigSource
IntoFileSource
Any config source that can be serialized and deserialized to/from a file.