Skip to main content

Module config

Module config 

Expand description

Module for structs used to configure various internal service clients.

On wasm32, only the pure-data submodules (vars, errors, idp_provider) are available. paths, source, and docker_env_file resolve files via dirs / std::fs and are native-only — wasm consumers must pass config explicitly at construction time.

Re-exports§

pub use docker_env_file::DockerEnvFile;
pub use errors::ConfigError;

Modules§

docker_env_file
errors
idp_provider
paths
Internal module for config-related path handling.
vars
This module defines all of the environment variables used by cipherstash-client.

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).
FileSource
Specifies a configuration source that reads from a file and deserializes it into a type, T.
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.