Skip to main content

Module secret_file

Module secret_file 

Source
Expand description

Explicit, bounded file/stdin inputs for command-line secrets.

Enums§

SecretInputError
A secret input failure without secret-bearing diagnostic context.

Functions§

ensure_single_stdin
Reject multiple consumers of standard input before any secret is read.
read_secret 🔒
read_secret_file
Read UTF-8 secret material from a file, or standard input when path is -.