Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnableToLookupToken = errors.New("unable to lookup token information")
)
Functions ¶
This section is empty.
Types ¶
type KubernetesAuth ¶
type KubernetesAuth struct {
// contains filtered or unexported fields
}
KubernetesAuth gets the vault auth token from the kubernetes secrets file.
func NewKubernetesAuth ¶
func NewKubernetesAuth(role, path string) *KubernetesAuth
NewKubernetesAuth creates a new k8s secret auth token location.
type TokenAuth ¶
type TokenAuth struct {
// contains filtered or unexported fields
}
TokenAuth is a pass-through authentication mechanism to set vault tokens directly for use by the Vault store. NOTE: Token renewal should be handled outside of this library.
func NewTokenAuth ¶
NewTokenAuth creates a new Vault token auth location.
Click to show internal directories.
Click to hide internal directories.