Setting up vault connections for migrated DataStage jobs
You can set up vault connections on IBM Cloud Pak® for Data for DataStage® jobs that you migrate from traditional DataStage.
To set up a vault connection for a migrated DataStage job:
- Open the DataStage flow and open the properties panel for the connector that you want to convert to a vault connection.
- Provide the connection details.
- On the Stage tab, click View connection to open the connection page.
- Update connection details for connecting to the target, such as hostname, IP address, and instance.
- In the Credentials section, select "Personal", and then for
Input method, select "Use secrets from a vault".If the "Personal" option is disabled, select it by using the following command:
cpdctl dsjob update-connection {--project PROJECT | --project-id PROJID} {--name NAME | --id ID} --make-personal
The command might look like the following example:cpdctl dsjob update-connection --project project1 --name db2-conn --make-personal
For more information on DataStage command-line tools, see DataStage command-line tools.
- Select the appropriate secret or add a secret, then use the secret to configure the credentials section. Refer to Managing secrets and vaults.
- After providing all connection details, click Test connection. If the connection fails, check the connection details and credentials to ensure that the information is correct.
- If compile or run fails for the migrated job, check that the connection details are entered correctly and the target database or server is active and accepting connections. You can also check the compile and run logs for more information.