Encrypt with Transit

Encrypt data with the Vault Transit engine

vault write transit/encrypt/my-key plaintext=$(echo -n 'secret' | base64)

tool
vault31 commands
tags
vaultsecrets

More vault commands

  • vault write transit/decrypt/my-key ciphertext=vault:v1:... | base64 -d

    Decrypt a ciphertext with the Transit engine

  • vault token lookup

    Show the TTL, policies and other details of the current token

  • vault token renew

    Extend the TTL of the current token

  • vault status

    Show the seal status, HA mode and cluster info

  • vault secrets enable -path=secret kv-v2

    Mount a KV version 2 secrets engine at secret/

all 31 vault commands