Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2023 Changes in this version + type MasterKey struct + CreationDate time.Time + EncryptedKey string + EnginePath string + KeyName string + VaultAddress string + func MasterKeyFromAddress(address, enginePath, keyName string) *MasterKey + func (key *MasterKey) Decrypt() ([]byte, error) + func (key *MasterKey) Encrypt(dataKey []byte) error + func (key *MasterKey) EncryptIfNeeded(dataKey []byte) error + func (key *MasterKey) EncryptedDataKey() []byte + func (key *MasterKey) NeedsRotation() bool + func (key *MasterKey) SetEncryptedDataKey(enc []byte) + func (key *MasterKey) ToString() string + func (key MasterKey) ToMap() map[string]interface{} + type VaultToken string + func (t VaultToken) ApplyToMasterKey(key *MasterKey)