Decrypting passwords/tokens pushed by Unravel to Databricks DBFS
If you want to decrypt passwords/tokens pushed by Unravel onto DBFS, run the following steps:
From the installation directory of Unravel, go to
unravel/conf/data
. Use an editor, for example: vi editor, and open theunravel.yaml
file.From the
unravel.yaml
file, find the databricks section and copy theaes_key
.hosts: host_main: config: databricks: aes_key:
<dbx_aes_key>
You can also fetch this encrypted key from the corresponding Databricks cluster as follows:
Access DBFS using a web terminal of the required cluster.
Run the following and copy the displayed aes key.
cd /dbfs/databricks/unravel/unravel-db-sensor-archive/etc cat aes_key
From the install directory, run the following command along with the encrypted
<aes_key>
that you had copied.<Unravel installation directory>/unravel/manager support password decrypt --key
<aes_key>
You are prompted to enter the encrypted passwords/tokens you want to decrypt. This encrypted information is stored in the
/dbfs/databricks/unravel/unravel-db-sensor-archive/etc/unravel_db.properties
file on Databricks.Open the
/dbfs/databricks/unravel/unravel-db-sensor-archive/etc/unravel_db.properties
file and copy the encrypted password/token you want to decrypt.Paste the encrypted password/token at the prompt and press ENTER. The decrypted password/token is displayed.