Documentation
¶
Overview ¶
Package secretin reads one line of secret input from a cobra command's stdin, with console echo disabled on Windows when stdin is an interactive console, and a plain line read otherwise (pipes, redirected files, POSIX).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadLine ¶
ReadLine reads one line from cmd's stdin for a secret prompt (isolation set-credential, service install --user) with a plain line read. Echo suppression exists on Windows only (see secretin_windows.go), where set-credential's stored-credential path (isolation.CredentialStore.Put) and the service installer run.
Types ¶
This section is empty.