Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment withSecretStdin

process/environment/block::withSecretStdin


Inputs

⇥ base: Block<Environment> (process/environment::Environment)
⇥ secret: Block<Secret<string>>

Outputs

↦ environment: Block<Environment> (process/environment::Environment)


Writes a secret received at runtime to the standard input of commands run with base, before anything else.

Same as process/environment::|with_secret_stdin. The secret is revealed only when a command is run.

Commands take the environment as an option, see std/ops/option/block::wrap.