# Functions
NewDefaultOptions creates new KeyOptions.
NewHandler key using provided config.
NewKMSKeyHandler creates new KMSKeyHandler.
NewNodeIDKeyHandler creates new NodeIDKeyHandler.
NewStaticKeyHandler creates new EphemeralKeyHandler.
NewTPMKeyHandler creates new TPMKeyHandler.
WithPartitionLabel passes the partition label to the key handler.
WithSystemInformationGetter passes the node UUID to the key handler.
# Constants
TokenTypeKMS is KMS assisted encryption token.
TokenTypeTPM is TPM assisted encryption token.
# Variables
ErrTokenInvalid is returned by the keys handler if the supplied token is not valid.
# Structs
KeyHandler is the base class for all key handlers.
KeyOptions set of options to be used in KeyHandler.GetKey func.
KMSKeyHandler seals token using KMS service.
KMSToken is the userdata stored in the partition token metadata.
NodeIDKeyHandler generates the key based on current node information and provided template string.
StaticKeyHandler just handles the static key value all the time.
TPMKeyHandler seals token using TPM.
TPMToken is the userdata stored in the partition token metadata.
# Interfaces
Handler manages key lifecycle.
# Type aliases
KeyOption represents key option callback used in KeyHandler.GetKey func.