Expand description
Configuration-secret storage and resolution helpers.
Secrets may come from files or inline configuration. The storage type does not redact output or erase memory when dropped.
Re-exportsยง
use std::fs::read_to_string;๐use std::path::Path;๐use crate::error;๐use crate::error;๐use crate::smallstr::SmallString;๐
Functionsยง
- is_set
- Whether a secret is configured at all.
- resolve
- Resolves a configured secret from a file or an inline value.
Type Aliasesยง
- Secret
- Owned string used for secret configuration values.