approle

package
v0.22.2-rc17 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApproleAuthMethod

func NewApproleAuthMethod(mountPath string, options json.RawMessage) (*approle.AppRoleAuth, error)

Types

type AuthOptions

type AuthOptions struct {
	RoleID          string `json:"roleID,omitempty"`
	SecretID        string `json:"secretID,omitempty"`
	SecretIDFile    string `json:"secretIDFile,omitempty"`
	SecretIDEnv     string `json:"secretIDEnv,omitempty"`
	IsWrappingToken bool   `json:"isWrappingToken,omitempty"`
}

AuthOptions defines the configuration options added using the VaultOptions.AuthOptions field when AuthType is approle

Jump to

Keyboard shortcuts

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