Skip to main content Skip to complementary content

Setting up PGP key pair metadata

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.

Information noteNote: 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

  1. 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.
    Create Connection option selected by right-clicking.
  2. 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.
    Create Connection dialog box showing general properties.
  3. 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.
  4. 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.
  5. 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.
    Create Connection dialog box showing connection details.
  6. 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.
    PGP metadata entry displayed in the Repository tree view.
    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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!