Versions in this module Expand all Collapse all v1 v1.0.1 Oct 8, 2023 v1.0.0 Apr 11, 2022 Changes in this version + type Auth interface + Login func(context.Context, vault.AuthMethod) (*vault.Secret, error) + type CredentialsParser func(*vault.Secret) (aws.Credentials, error) + type Logicaler interface + Read func(path string) (*vault.Secret, error) + type Option func(*Provider) error + func WithAuthBeforeRetrieve() Option + func WithAuthMethod(auth vault.AuthMethod) Option + func WithCredentialsParser(parser CredentialsParser) Option + func WithCustomVaultConfig(c *vault.Config) Option + func WithVaultToken(token string) Option + type Provider struct + func NewProvider(ctx context.Context, secretPath string, opts ...Option) (*Provider, error) + func (p *Provider) Retrieve(ctx context.Context) (aws.Credentials, error)