Versions in this module Expand all Collapse all v2 v2.10.0 Jun 13, 2023 Changes in this version + const EnvAzureKeyVaultWrapperKeyName + const EnvAzureKeyVaultWrapperVaultName + const EnvVaultAzureKeyVaultKeyName + const EnvVaultAzureKeyVaultVaultName + func ParseKeyVersion(kid string) string + func WithClientId(with string) wrapping.Option + func WithClientSecret(with string) wrapping.Option + func WithDisallowEnvVars(with bool) wrapping.Option + func WithEnvironment(with string) wrapping.Option + func WithKeyName(with string) wrapping.Option + func WithKeyNotRequired(with bool) wrapping.Option + func WithLogger(with hclog.Logger) wrapping.Option + func WithResource(with string) wrapping.Option + func WithTenantId(with string) wrapping.Option + func WithVaultName(with string) wrapping.Option + type OptionFunc func(*options) error + type Wrapper struct + func NewWrapper() *Wrapper + func (v *Wrapper) BaseURL() string + func (v *Wrapper) Client() *keyvault.BaseClient + func (v *Wrapper) Decrypt(ctx context.Context, in *wrapping.BlobInfo, opt ...wrapping.Option) ([]byte, error) + func (v *Wrapper) Encrypt(ctx context.Context, plaintext []byte, opt ...wrapping.Option) (*wrapping.BlobInfo, error) + func (v *Wrapper) KeyId(_ context.Context) (string, error) + func (v *Wrapper) Logger() hclog.Logger + func (v *Wrapper) SetConfig(_ context.Context, opt ...wrapping.Option) (*wrapping.WrapperConfig, error) + func (v *Wrapper) Type(_ context.Context) (wrapping.WrapperType, error)