Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AzureVaultUrl ¶
func Base64Decode ¶
Types ¶
type AwsSMProvider ¶
type AwsSMProvider struct {
Client secretsmanageriface.SecretsManagerAPI
}
func (*AwsSMProvider) GetKVSecrets ¶
func (p *AwsSMProvider) GetKVSecrets(name string) (map[string]string, error)
type AzureVaultProvider ¶
type AzureVaultProvider struct { Client keyvaultapi.BaseClientAPI // contains filtered or unexported fields }
func (*AzureVaultProvider) GetKVSecrets ¶
func (p *AzureVaultProvider) GetKVSecrets(name string) (map[string]string, error)
type EnvProvider ¶
type EnvProvider struct { }
func (*EnvProvider) GetKVSecrets ¶
func (p *EnvProvider) GetKVSecrets(name string) (map[string]string, error)
type HashicorpVaultProvider ¶
type HashicorpVaultProvider struct {
Client VaultReader
}
func (*HashicorpVaultProvider) GetKVSecrets ¶
func (p *HashicorpVaultProvider) GetKVSecrets(path string) (map[string]string, error)
type K8SSecretProvider ¶
type K8SSecretProvider struct {
Client v1.SecretInterface
}
func (*K8SSecretProvider) GetKVSecrets ¶
func (p *K8SSecretProvider) GetKVSecrets(path string) (map[string]string, error)
type SecretsProvider ¶
type SecretsProvider interface { GetSecret(name string) (string, error) GetKVSecrets(path string) (map[string]string, error) }
func NewAwsSMProvider ¶
func NewAwsSMProvider() (SecretsProvider, error)
func NewAzureVaultProvider ¶
func NewAzureVaultProvider(vaultName string) (SecretsProvider, error)
func NewEnvProvider ¶
func NewEnvProvider() SecretsProvider
func NewHashicorpVaultProvider ¶
func NewHashicorpVaultProvider() (SecretsProvider, error)
func NewK8SSecretProvider ¶
func NewK8SSecretProvider(namespace string) (SecretsProvider, error)
Click to show internal directories.
Click to hide internal directories.