keyprovider

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL