Re-encryption using a custom key file

You can re-encrypt a technical user credential file that was previously encrypted with a custom key file.

The tool first decrypts the old technical user credentials using the old key file (-k). It then encrypts the credentials again, but this time using the provided new key file (-r). The result is stored in the new technical user credentials file.

Important: Do not use the same file name for the old and the new file.

To re-encrypt a technical user credentials file that was encrypted with a custom key file

  1. Set up the environment as described in Preparing the environment.
  2. Start the tool using the following command:
    createTechUserCreds -f result_file_name -r new_key_file_name
      -c old_techuser_file_name -k new_key_file_name

    When you execute the tool without specifying an argument for the result file name, it still creates a text file with the corresponding technical user credentials. The file is created in the same directory in which you started the tool and has a predefined default name (techuser).

    To customize the parameters for invoking this tool, you can use a set of predefined optional arguments. The available arguments and their descriptions are as follows:

    Argument Description
    -f Provide a name for the new result text file which contains the re-encrypted technical user credentials. If you do not use this argument, the tool creates a default result file.
    -r Provide a key file to re-encrypt the result text file that contains the technical user credentials.
    -c Provide the name of the text file containing already encrypted technical user credentials.
    -k Provide the key file necessary to decrypt the text file containing already encrypted technical user credentials.
  3. Press ENTER.