Documentation
¶
Index ¶
- func New() func() loader.Loader
- type Loader
- func (l *Loader) Client() *api.Client
- func (l *Loader) Load(ctx context.Context, mountPath string, key string) (map[string]interface{}, error)
- func (l *Loader) LoadChu(ctx context.Context, to any, opt *loader.Option) error
- func (l *Loader) Login(ctx context.Context) error
- func (l *Loader) SetClient(c *api.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Loader ¶
type Loader struct { AppRoleBasePath string // contains filtered or unexported fields }
func (*Loader) Load ¶
func (l *Loader) Load(ctx context.Context, mountPath string, key string) (map[string]interface{}, error)
Load loads a key from the vault.
- first login to vault
Click to show internal directories.
Click to hide internal directories.