Encrypt with Transit
Encrypt data with the Vault Transit engine
vault write transit/encrypt/my-key plaintext=$(echo -n 'secret' | base64)
- tool
- vault31 commands
More vault commands
-
vault write transit/decrypt/my-key ciphertext=vault:v1:... | base64 -dDecrypt a ciphertext with the Transit engine
-
vault token lookupShow the TTL, policies and other details of the current token
-
vault token renewExtend the TTL of the current token
-
vault statusShow the seal status, HA mode and cluster info
-
vault secrets enable -path=secret kv-v2Mount a KV version 2 secrets engine at secret/