Function cast::utils::read_secret [−][src]
pub fn read_secret(
secret: bool,
unsafe_secret: Option<String>
) -> Result<String>
Expand description
Securely reads a secret from stdin, or proceeds to return a fallback value which was provided in cleartext via CLI or env var