====== Tabli - Vault Decrypt Command ======
===== About =====
''vault decrypt'' is a [[docs:tabli:command|tabli command]] of the [[start|Vault Module]] that supports the [[docs:common:vault|decryption]] of a cipher that was encrypted with the [[encrypt|encrypt command]] or [[docs:connection:attribute#automatic_encryption|automatically]].
===== Example =====
Every ''ciphertext'' (text encrypted) starts with the ''vault'' prefix. This cipher comes from the [[encrypt#example|vault encrypt example]]
tabli --passphrase hardToGuess vault decrypt vaultQVE9PT4vRUloRGI4cU83c1cvS0orOGU0cmJnPT0+UTc4NVFqWWdDZ3hoTmp3WXRPNjJsMmJhWS9lb2dSNE8wNllHM29WYjFVWT0+eGp5aUcxdnA0RkZ6TkhwQWU3Y3B1UT09
The cipher decryption:
plaintext ciphertext
--------- -----------------------------------------------------------------------------------------------------------------------------------------
secret vaultQVE9PT4vRUloRGI4cU83c1cvS0orOGU0cmJnPT0+UTc4NVFqWWdDZ3hoTmp3WXRPNjJsMmJhWS9lb2dSNE8wNllHM29WYjFVWT0+eGp5aUcxdnA0RkZ6TkhwQWU3Y3B1UT09
===== Syntax =====
tabli vault decrypt -h
Tabli vault decrypt
===================
Decrypt ciphertext into plaintext
Example
-------
1 - To decrypt, you would execute
tabli vault decrypt --passphrase difficultToGuessPassPhrase! "vaultQVE9PT5KeU1OK1RXNWNSVDJCcVRq"
Syntax
------
tabli vault decrypt
where:
Arguments:
One or more ciphertext to decrypt
Global Options:
-cf,--conf The path to a configuration file
-cv,--connection-vault The path where the connection vault is located
-h,--help Print this help
-l,--log-level Set the log level
-ns,--not-strict A minor error will not stop the process.
-odu,--output-data-uri defines the output data uri for the feedback data (default: console)
-oo,--output-operation defines the data operations (replace, truncate) on an existing output resource before transfer.
-oop,--output-transfer-operation defines the output transfer operation (insert, update, merge, copy). Default to `copy` for a file system and `insert` for a database.
-pp,--passphrase A passphrase (master password) to decrypt the encrypted values