Specify encrypted credentials
Use the command line interface to set the encrypted credentials in the configuration files, such as the clientCredential parameter and the password parameter. The credentials are used to authenticate ARIS Connector for SAP Solutions against your ARIS Enterprise tenant and the SAP system.
Warning
Do not manually change the credentials in the UpdateARISConfiguration.json, ARISConfiguration.json, UpdateSAPConfiguration.json, or SAPConfiguration.json files.
Prerequisite
ARIS Connector for SAP Solutions is running.
Open a command prompt box or a Linux terminal in the <ARIS Connector for SAP Solutions installation directory>\bin folder.
To encrypt and submit the missing clientCredentials value in the UpdateARISConfiguration.json file, enter:
ConfigureConnector.bat/.sh -crd <client-credentials key copied from ARIS Architect>
For example, for Linux: ./ConfigureConnector.sh -crd 378ae18d-8d4d-499b-8579-1bd4601d30f0/15502484-88ab-4cb2-920f-153d21ab5915
If any issues occurred, the command line interface shows error messages. The links lead you to the problem solution.
When you encrypt credentials, ARIS Connector for SAP Solutions creates a key.secret file in the <ARIS Connector for SAP Solutions installation directory>\conf folder. The key.secret file from now on is used for encryption.
Warning
Make sure to back up this file. You must not change the key it contains. If you delete the key.secret file from the conf folder so that the encryption key is not stored with the encrypted credentials, you must be able to restore the file. This is because this file is mandatory when ARIS Connector for SAP Solutions is restarted. If you cannot recover the key.secret file that was used for encryption, you must re-encrypt and submit the credentials. Otherwise, connections cannot be established.
To encrypt and enter the missing SAP password into the UpdateSAPConfiguration.json file, in the command prompt window or a Linux terminal, enter:
ConfigureConnector.bat/.sh -sys <value of the alias parameter> -usr <value of the user parameter> -pwd <password> <confirm password>
For example, for Windows: .\ConfigureConnector.bat -sys SM01 -usr ARIS_SAP_SYNC_USER -pwd ******** ********
Warning
While you are entering your password, it will be visible.
You have set the encrypted clientCredentials parameter used in the UpdateARISConfiguration.json file and the password parameter used in the UpdateSAPConfiguration.json file.