Documentation ¶
Index ¶
- func SetClientIDSecretInEnv() func()
- type GetCertificateFn
- type GetKeyFn
- type GetSecretFn
- type SecretClient
- func (sc *SecretClient) GetCertificate(ctx context.Context, vaultBaseURL string, certificateName string, ...) (keyvault.CertificateBundle, error)
- func (sc *SecretClient) GetKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string) (keyvault.KeyBundle, error)
- func (sc *SecretClient) GetSecret(ctx context.Context, vaultBaseURL string, secretName string, ...) (keyvault.SecretBundle, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetClientIDSecretInEnv ¶
func SetClientIDSecretInEnv() func()
Types ¶
type GetCertificateFn ¶
type GetCertificateFn func(ctx context.Context, vaultBaseURL string, certificateName string, certificateVersion string) (keyvault.CertificateBundle, error)
func NewGetCertificateFn ¶
func NewGetCertificateFn(certificate string) GetCertificateFn
type GetKeyFn ¶
type GetKeyFn func(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string) (keyvault.KeyBundle, error)
func NewGetKeyFn ¶
type GetSecretFn ¶
type GetSecretFn func(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (keyvault.SecretBundle, error)
func NewGetSecretFn ¶
func NewGetSecretFn(secretString string) GetSecretFn
type SecretClient ¶
type SecretClient struct { GetSecretFn GetSecretFn GetKeyFn GetKeyFn GetCertificateFn GetCertificateFn }
func (*SecretClient) GetCertificate ¶
func (sc *SecretClient) GetCertificate(ctx context.Context, vaultBaseURL string, certificateName string, certificateVersion string) (keyvault.CertificateBundle, error)
Click to show internal directories.
Click to hide internal directories.