Documentation
¶
Overview ¶
Package provider provides a factory for creating vault provider clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient creates a vault provider client based on stored configuration. It reads the provider type from the keychain and returns the appropriate client.
func NewClientFromURL ¶
NewClientFromURL creates a vault provider client from a repository URL and token. This is used during initialization to determine the correct provider.
func NewClientWithToken ¶ added in v0.1.13
NewClientWithToken creates a vault provider client from stored configuration but with the supplied token instead of the stored one. It is used to validate a new token before persisting it.
func StoreProviderInfo ¶
StoreProviderInfo stores the provider type and repository info in the keychain.
Types ¶
This section is empty.