PGP requires a pair of keys: private and public. The
Public Key is used to encrypt the data, and the
Private Key is to decrypt it.
Private Key can be protected by the passphrase. Etlworks includes a Flow that can be used to generate a pair of PGP keys. The pair of keys can be either created in the secure key storage or the location specified for the selected server storage connection.
Step 1. Create flow
In Flows, click
Add flow and type in
PGP key pair.
Step 2. Configure where a pair of keys should be generated
Optionally select a Server storage connection where a pair of keys should be created.
The keys created in the specified locations can be later uploaded into secure key storage.
If the Location connection is not set, the flow will create a pair of keys in the secure key storage. The keys created in the key storage can be selected in UI when configuring any storage connection.
Step 3. Configure parameters
Parameters tab and set the following required parameters:
Public Key Filename: the pubic key filename. The public key is used for encryption.
Private Key Filename: the private key filename. The private key is used for decryption.
Name: the name used to generate the key, typically a username. It can be any string, for example
Passphrase: the passphrase (password) used to generate the key.
Key Size (bits): the size of the key in bits. There are the following options:
- 1024 bits - good for testing.
- 2048 bits - secure.
- 4096 bits - more secure, slower.
- 8192 bits - very secure, very slow.
Step 4. Generate a pair of keys
Run the flow to generate a pair of keys. Read how to locate keys generated by the flow.