11-25-2021 02:55 AM
How to set up this value? Is this any value we can provide or the default value we have to p
#!/bin/bash
keystore_file="/dbfs/<keystore_directory>/jetty_ssl_driver_keystore.jks"
keystore_password="gb1gQqZ9ZIHS"
sasl_secret=$(sha256sum $keystore_file | cut -d' ' -f1)
11-25-2021 04:02 AM
Hi @karthick J do not change the password from the script. You need to just modify the <keystore_directory> and create the init script.
In the first step of the notebook, you will copy the Keystore file to a directory in DBFS.
As it is Databricks keystore file you cant change the password.
11-25-2021 03:47 AM
I do not exactly understand the question.
Do you want to store secrets like this?
11-25-2021 04:11 AM
This is not for secrets but for Encrypting Traffic Between Worker Nodes. 😉
11-25-2021 04:02 AM
Hi @karthick J do not change the password from the script. You need to just modify the <keystore_directory> and create the init script.
In the first step of the notebook, you will copy the Keystore file to a directory in DBFS.
As it is Databricks keystore file you cant change the password.
11-25-2021 04:05 AM
I think as @Werner Stinckens said you need to provide more details what exactly you want to accomplish and where this script is put.
For all secrets the best way is to use databricks secret or Azure Key Valut (or AWS KMS) so you don't store your passwords in code. If you want to encrypt dbfs is better to make own mount and use ready Azure/S3 encryption options using own keys there.
11-25-2021 05:23 AM
Yes, I should have provided more detail, as the question is not clear. I will make sure to ask with clear details forward. Like @Prabakar Ammeappin said, the query was on databricks cluster encrypting Traffic bewteen workers nodes.
11-25-2021 04:07 AM
Hi @karthick J please refer to this notebook.
Further, if you will be using %pip magic command the below post will be helpful.
11-25-2021 05:24 AM
Thanks @Prabakar Ammeappin
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group