Title
Create new category
Edit page index title
Edit category
Edit link
Steps to Update Databricks Token on IWX Version 5.2.0
Steps to Update Databricks Token on IWX Version 5.2.0
This Article has the steps document to update Databricks token IWX Version 5.2.0
Instructions
Prerequisites
- This script must be run on a VM because it needs
/opt/infoworks/apricot-meteor/infoworks_python/infoworks/bin/infoworks_security.shscript to encrypt databricks token. - This script can be put inside any folder in VM. For example, you may put this script in
/home/infoworksdirectory. - In case pymongo is not installed, install it using
pip3 install pymongo. If Cryptodome is not installed, install it usingpip3 install pycryptodomex. - Before running the script, source the env.sh file
source ${IW_HOME}/bin/env.sh - To see usage instructions, run
python3 update_db_token.sh -h
Steps to Update Databricks token
- Update Token in Data Environment Details
python3 update_db_token.py -e <ENVIRONMENT_ID> -t <DATABRICKS_TOKEN>
- Update Token in Persistent Compute Cluster
python3 update_db_token.py -e <ENVIRONMENT_ID> -cn <COMPUTE_CLUSTER_NAME> -ct persistent -t <DATABRICKS_TOKEN>
- Update Token in Ephemeral Compute Cluster
python3 update_db_token.py -e <ENVIRONMENT_ID> -cn <COMPUTE_CLUSTER_NAME> -ct ephemeral -t <DATABRICKS_TOKEN>
To update data bricks token for the environment and all clusters at once, you can specify an additional argument --all-computes=true
python3 update_db_token.py -e <ENVIRONMENT_ID> -t <DATABRICKS_TOKEN> --all-computes=true
Affects Version:
Infoworks 5.2.0
For more details, refer to our Knowledge Base and Best Practices!
For help, contact our support team!
© UNIPHORE TECHNOLOGIES 2025 | Confidential