# Setup

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 cli@seald.io

# 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 cli@seald.io

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 email1@domain.com email2@domain.com
  • Verify in ENCRYPTED_DIRECTORY that 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 --remove option to the previous command to remove everything, or the --remove-files option to remove only the files but keep the directory structure.

Be careful to replace CLEARTEXT_DIRECTORY and ENCRYPTED_DIRECTORY by the chosen folders, and --recipients-emails email1@domain.com email2@domain.com by the email addresses of the chosen recipients.