# README
Vault utils
Login
Login(roleID, secretID)
- client login with given permissions
Read
Login
method required before
Read("secret/read/foo", "foo")
- reads fromsecret/read/foo
value offoo
Encrypt\Decript
Transit secrets engine
must be enabled by operator command
vault secrets enable transit
Work:
-
Login
method required beforeA client must have permission to write in
transit/*
for creating keys and work with data. Or operator must create client key and give permission to the client for work intransit/encrypt/client_key
andtransit/decrypt/client_key
-
CreateTransitKey(transitKey)
- create encryption key -
EncryptData(transitKey, data)
- encryptdata
(base64
-encoded our data).Response contains encrypted data. The client must store this data and
transitKey
encryption key. -
DecryptData(transitKey, encrypted)
- decriptencrypted
data withtransitKey
. Response contains ourbase64
-encoded data.
# Functions
No description provided by the author
# Structs
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author