Documentation ¶
Overview ¶
Package keyprovider provides a way to create KeyProvider via alias.
See Custom Key Provider example how to use it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKeyProvider ¶
func NewKeyProvider(providerID string, providerKind types.ProviderKind, vendOnDecrypt bool) *keyprovider.KeyProvider
NewKeyProvider is an alias for internal keyprovider.NewKeyProvider.
It returns a new keyprovider.KeyProvider with the given providerID, providerKind, and vendOnDecrypt.
- providerID: The provider ID. Must be unique across all providers.
- providerKind: The provider kind. Use types.Custom for custom providers.
- vendOnDecrypt: If true, the provider will vend data keys on decrypt which enables discovery of the provider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.