Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Namespace is the keystore's DB storage namespace
Namespace = "kmsdb"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalKMS ¶
type LocalKMS struct {
// contains filtered or unexported fields
}
LocalKMS implements kms.KeyManager to provide key management capabilities using a local db. It uses an underlying secret lock service (default local secretLock) to wrap (encrypt) keys prior to storing them.
func (*LocalKMS) Create ¶
Create a new key/keyset for key type kt, store it and return its stored ID and key handle
Click to show internal directories.
Click to hide internal directories.