Documentation ¶
Overview ¶
Package cli implements a way to log into vault for CLIs
Copyright 2022 Outreach Corporation. All Rights Reserved.
Description: Stores functions to ensure that the user is logged into vault
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureLoggedIn ¶
EnsureLoggedIn ensures that we are authenticated with Vault and have a valid token
func IsLoggedIn ¶ added in v1.11.0
IsLoggedIn returns a valid token if auth lease is not expired
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.