Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() keyprovider.Descriptor
Types ¶
type Config ¶
type Config struct { Address string `hcl:"address,optional"` Token string `hcl:"token,optional"` KeyName string `hcl:"key_name"` KeyLength DataKeyLength `hcl:"key_length,optional"` TransitEnginePath string `hcl:"transit_engine_path,optional"` }
func (Config) Build ¶
func (c Config) Build() (keyprovider.KeyProvider, keyprovider.KeyMeta, error)
type DataKeyLength ¶
type DataKeyLength int
func (DataKeyLength) Bits ¶
func (l DataKeyLength) Bits() int
func (DataKeyLength) Validate ¶
func (l DataKeyLength) Validate() error
Click to show internal directories.
Click to hide internal directories.