package
0.1.4
Repository: https://github.com/mauromedda/vauth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

EnsureTrailingSlash ensures the given string has a trailing slash.
Execute adds all child commands to the root command and sets flags appropriately.
Login function returns an error o print the token saved inside the ~/.vault-token file.
NewClient return a new vault client and an error.
PasswordFromEnv returns the password stored into PASSWORD or the empty string.
UsernameFromEnv returns the username stored into LOGNAME or USER if defined or the empty string.

# Variables

LoginHandlers is an k:v datatype with authentication method type and the related vault Handler.

# Interfaces

LoginHandler is the interface that any auth handlers must implement to enable auth via the CLI.