Documentation ¶
Index ¶
- func AddKey(comment string)
- func DecryptData(secret *util.Secret, passphrase []byte) (util.AttributeMap, error)
- func DeleteKey(id int)
- func EncryptData(attrs util.AttributeMap, passphrase []byte) (*util.Secret, error)
- func GenerateKey(passphrase []byte) []byte
- func GeneratePassword(length int, symbols bool) string
- func GetCipher(passphrase, nonce []byte) ([]byte, cipher.AEAD)
- func GetMasterKey(confirm, getPassphrase, rotation bool) []byte
- func GetPassphrase(prompt string, confirm bool) ([]byte, error)
- func GetSeal() ([]byte, error)
- func GetSealPath() string
- func GetSecret(path string) (*util.Secret, util.AttributeMap)
- func GetSecretFile(path string) (*util.Secret, error)
- func GetVaultMeta(rotation bool) util.VaultMeta
- func InitVault()
- func IsUnsealed() bool
- func ListKeys()
- func RotateKey()
- func Seal(rotation bool)
- func SetSecret(path string, attrs util.AttributeMap, generatorLength int, ...)
- func Unseal()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptData ¶
func EncryptData ¶
func GenerateKey ¶
func GeneratePassword ¶
func GetMasterKey ¶
func GetSealPath ¶
func GetSealPath() string
func GetVaultMeta ¶
func IsUnsealed ¶
func IsUnsealed() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.