Documentation
¶
Index ¶
Constants ¶
View Source
const VaultDefaultField = "value"
VaultDefaultField is the default value returned by the provider from the hash returned by the Vault.
Variables ¶
This section is empty.
Functions ¶
func ProviderFactory ¶
func ProviderFactory(options plugin_v1.ProviderOptions) (plugin_v1.Provider, error)
ProviderFactory constructs a Provider. The API client is configured from environment variables.
Types ¶
type Provider ¶
Provider provides data values from the Conjur vault.
func (*Provider) GetValue ¶
GetValue obtains a value by id. Any secret which is stored in the vault is recognized. The datatype returned by Vault is map[string]interface{}. Therefore this provider needs to know which field to return from the map. By default, it returns the 'value'. An alternative field can be obtained by appending '#fieldName' to the id argument.
Click to show internal directories.
Click to hide internal directories.