Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedBackends = []keyring.BackendType{ keyring.WinCredBackend, keyring.KeychainBackend, keyring.SecretServiceBackend, keyring.PassBackend, }
SupportedBackends is the list of backends we have support and have tested.
Functions ¶
func AvailableBackends ¶
func AvailableBackends() []string
AvailableBackends returns the available backends on this platform
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a backend token store
func (*Store) Erase ¶
Error erases the token for the vaultAddr from the token store. A missing token is not an error. Errors are returned if there are errors communicating with the token store.
func (*Store) Get ¶
Get retrieves a token for the vaultAddr if one is available in the token store. A missing token is not an error. Errors are returned if there are errors communicating with the token store.
type Token ¶
Token represents a Vault token stored in a backend credential store
func (Token) LastModified ¶
Click to show internal directories.
Click to hide internal directories.