passwordutil

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package passwordutil provides utilities to read passwords.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadInteractive

func ReadInteractive(container app.StdioContainer, prompt string) (string, error)

ReadInteractive reads a password from the container by prompting the user on the terminal connected to the containers Stdin. It doesn't echo the characters put into the terminal.

func ReadStdin

func ReadStdin(container app.StdinContainer) (string, error)

ReadStdin reads the password from stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL