Re-encryption using the default key

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

The tool first decrypts the old technical user credentials using its default key. It then encrypts the credentials again, but this time using the provided key file. 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 the default key

  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

    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. These credentials were encrypted with the program's default key, that is, no key file was provided for the encryption.
  3. Press ENTER.