Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keystore ¶
type Keystore interface {
CreateKey(kt kms.KeyType) (string, error)
ExportKey(keyID string) ([]byte, error)
CreateAndExportKey(kt kms.KeyType) (string, []byte, error)
ImportKey(der []byte, kt kms.KeyType, kid string) (string, error)
GetKeyHandle(keyID string) (interface{}, error)
KeyManager() kms.KeyManager
}
Keystore represents a keystore.
type Option ¶
type Option func(options *Options)
Option configures Options.
func WithKMSCreator ¶
WithKMSCreator sets the KMS creator.
func WithPrimaryKeyURI ¶
WithPrimaryKeyURI sets the primary key URI.
func WithSecretLock ¶
func WithSecretLock(secretLock secretlock.Service) Option
WithSecretLock sets the secret lock service.
func WithStorageProvider ¶
WithStorageProvider sets the storage provider.
Click to show internal directories.
Click to hide internal directories.