This command encrypts the password. This can be useful if you don’t want to explicitly specify the password in the settings file. The password will be encrypted with a symmetric key and output to the console in base64 format.
The password encrypted with this command and specified in a backup job JSON file will be decrypted and used during job execution.
If no arguments are specified, the command requests a text to encrypt.
A password that should be encrypted. Use quotation marks to avoid spaces, as well as the characters ‘-‘ and ‘=’.
A path to a file with text that should be decrypted.
Encryption of arbitrary text.
Text encryption from a specified file.
Examples of use in backup job’s settings
In a backup job JSON file, a password is encrypted since it starts with