Is there a way to use APIs to decipher Vault text?

Instead of using
vault write transit/decrypt/encryption_key ciphertext=“” | awk ‘END{print $2}’ | base64 --decode

Is there a way to use vault auth token , encrypted data to an api and decrypt it?

–header “X-Vault-Token: …”
–request POST
–data @payload.json

  • List item

Hi @illakkiya.r - are you looking for something like this (click the API call using cURL tab)