Accessing SFTP credentials

This feature allows you to access the SFTP drive, Username, and Password from the SFTP credentials tile present on the Administration page in IBM® Controller Web.

Complete the following steps to access SFTP user credentials in IBM Controller Web.

Before you begin

Configure and store SFTP credentials:
  1. Save the SFTP drive URL:
    1. Navigate to the file ccr_64\frontend\config.js.
    2. Locate or add the key sftpUrl.
    3. Assign the SFTP drive URL as the URL value to sftpUrl.
  2. Store the SFTP server Username and Password securely:
    1. Open Command Prompt.
    2. Navigate to the directory ccr_64\frontend.
    3. Run the following script to store the credentials .\Node\node .\addFtpKey.js {username} {password}
      Note: Replace {username} with your actual username (in plain text). Replace {password} with your Base64-encoded password.
  3. Verify the key storage in JKS file:
    1. Navigate to the directory ..\ccr_64\fcmweb\jre\bin.
    2. Run the following command to list keys in the keystore keytool -list -v -keystore key.jks.
    3. Check for a key with an alias name ending in _sftpkey.
    4. If the key is not found, re-run the script from Step 2 with the correct credentials.

Procedure

  1. SFTP credentials access permission check
    1. The right access can be defined in Controller Classic under Maintain Menu > Rights > Security group.
    2. A new SFTP Access menu item is added under Controller Web.
    3. The access right can either be Normal or Not available. If you select Not available, the user with that specific security group will not be able to access the SFTP credentials.
  2. Log in to the Controller Web.
  3. On the Controller Web dashboard, select Administration.
  4. Select the SFTP credentials tile.
  5. On the SFTP credentials page, you can access the SFTP drive, Username, and Password. You can use these credentials to securely upload files into IBM Controller.