Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultSecretStoreProvider ¶
type DefaultSecretStoreProvider struct{}
func (*DefaultSecretStoreProvider) NewSecretStore ¶
func (p *DefaultSecretStoreProvider) NewSecretStore(spec *v1.SecretStore) (secrets.SecretStore, error)
NewSecretStore constructs an Azure KeyVault based secret store with specific secret store spec.
type SecretClient ¶
type SecretClient interface { GetSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (result keyvault.SecretBundle, err error) GetKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string) (result keyvault.KeyBundle, err error) GetCertificate(ctx context.Context, vaultBaseURL string, certificateName string, certificateVersion string) (result keyvault.CertificateBundle, err error) }
SecretClient is a testable interface for making operations call for Azure KeyVault.
Click to show internal directories.
Click to hide internal directories.