All commands that can be used with the Seald CLI are available in CLI reference for advanced use.
# Using a proxy
In order to use Seald-CLI with a proxy, one must add the parameter
--proxy http://username:password@proxy:port to each command after
seald and before the action. For example:
seald --proxy http://username:password@proxy:port create-account --display-name SealdCLI --email email@example.com
# Create an account
Once Seald-CLI is installed, we can create a Seald account for this machine with the following command :
seald create-account --display-name SealdCLI --email firstname.lastname@example.org
Be careful to put in the chosen display-name and the email address created for this service account.
# Encrypting existing files
Here is the command to encrypt at once a folder of pre-existing files:
seald encrypt --input CLEARTEXT_DIRECTORY --output ENCRYPTED_DIRECTORY --recursive --retries 10 --recipients-emails email@example.com firstname.lastname@example.org
- Verify in
ENCRYPTED_DIRECTORYthat the files have indeed been encrypted
- Delete the content of the folder
CLEARTEXT_DIRECTORY. If you want it to be removed directly, you can add the
--removeoption to the previous command to remove everything, or the
--remove-filesoption to remove only the files but keep the directory structure.
Be careful to replace
ENCRYPTED_DIRECTORY by the chosen folders, and
--recipients-emails email@example.com firstname.lastname@example.org by the email addresses of the chosen recipients.