====== Tabli - Vault Encrypt Command ====== ===== About ===== ''vault encrypt'' is a [[docs:tabli:command|tabli command]] of the [[start|vault module]] that supports the [[docs:common:vault|encryption]] of sensitive information For the [[docs:connection:attribute|connection attributes]], you may also configure which attributes should be automatically encrypted with the [[docs:connection:attribute#automatic encryption|automatic attribute encryption feature]]. ===== Example ===== tabli --passphrase hardToGuess vault encrypt secret The encryption result plaintext ciphertext --------- ----------------------------------------------------------------------------------------------------------------------------------------- secret vaultQVE9PT5meE5YdGljNzdCVjNsNzVaN0J3cVJnPT0+dFU5T0M3ZVdtWWljMm9CODdOR2I2c00wN3BFdVg4YWVyUkJZUEprcHhlaz0+NHVRYis2S29vU1dIeTdpV3dmbFppZz09 ===== Syntax ===== tabli vault encrypt -h Tabli vault encrypt =================== Encrypt sensitive information such as password Example ------- 1 - To encrypt the text `alice`, you would execute tabli vault encrypt --passphrase difficultToGuessPassPhrase! "alice" Syntax ------ tabli vault encrypt where: Arguments: One or more text to encrypt 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