About this task
You can store PGP key pairs as PGP metadata entries using the PGP metadata wizard provided by Talend Studio for the tPGPEncrypt and tGPGDecrypt components. Before creating a PGP metadata entry, the public key and the private key need to be available.
Note: This feature is available only when you have installed the 8.0.1-R2023-07 Talend Studio
Monthly update or a later one delivered by Talend.
For more information, check with your administrator.
Procedure
-
In the Repository tree view, expand the
Metadata node, right-click the
PGP tree node, and select Create
Connection from the contextual menu to open the first page of
the Create Connection wizard.
-
In the Create Connection dialog box, specify a name for
the PGP key pair metadata entry and click the Next button
to open the second page of the Create Connection
wizard.
-
In the second page of the Create Connection wizard, select
the Use public key file option and type in the path to
the public key file in the Public key file path
field.
You can also set the public key by clearing the Use public key file option, clicking the [...] button next to the Public key field, copying-pasting the content of the public key file in the Enter a new password dialog box, and clicking the OK button.
-
Select the Use private key file option and type in the
path to the private key file in the Private key file path
field.
You can also set the private key by clearing the Use private key file option, clicking the [...] button next to the Private key field, copying-pasting the content of the private key file in the Enter a new password dialog box, and clicking the OK button.
-
Enter the passphrase of the private key by clicking the
[...] button next to the Private key
passphrase field, typing in the private key passphrase in the
dialog box, and then clicking the OK button.
If the private key does not have a passphrase, leave the Private key passphrase field empty.
-
Click Finish to complete the procedure.
The newly created PGP metadata entry appears under the PGP node in the Repository tree view, along with other existing PGP metadata entries.In this example, you can drag and drop the PGP metadata entry called test-pgp-key-pair from the Repository view onto the design workspace in order to be used with PGP components in your Job. For more information about dropping component metadata in the design workspace, see Using centralized metadata in a Job. For more information about the usage of the PGP components, see the related documentation for the PGP components.To modify an existing PGP key pair metadata entry, right-click the metadata entry in the Repository tree view and select Edit this connection from the contextual menu to open the metadata setup wizard.