Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretProvider ¶
type SecretProvider struct {
// contains filtered or unexported fields
}
SecretProvider provides functions to interact with azure-vault client Implements SecretProviderInterface
func NewSecretProvider ¶
func NewSecretProvider(azureClientID string, azureClientSecret string, vaultURL string) *SecretProvider
NewSecretProvider .
func (*SecretProvider) GetCertificate ¶
func (sp *SecretProvider) GetCertificate(certName string) (string, error)
GetCertificate .
func (*SecretProvider) GetKey ¶
func (sp *SecretProvider) GetKey(keyName string) (string, error)
GetKey .
func (*SecretProvider) GetSecret ¶
func (sp *SecretProvider) GetSecret(secretName string) (string, error)
GetSecret parses the object returned by azure-vault client and returns its value converted to string
Source Files
¶
- client.go
- secret-provider.go
Click to show internal directories.
Click to hide internal directories.