pub mod client;
pub mod error;
pub mod logging;
pub mod schema;
pub mod stdout;
pub use client::{RequestMode, SecretClient};
pub use error::SecretClientError as SecretError;
pub use logging::{init_logging, redact, register_for_redaction, register_secret_for_redaction};
pub use schema::GetSecretResponse;
pub fn init() -> std::sync::Arc<SecretClient> {
client::SecretClient::global() }
pub fn with_redaction(secret: secrecy::SecretString) -> secrecy::SecretString {
register_secret_for_redaction(&secret);
secret
}