Thank you for reply.
The reason we are installing databricks cli on init script is we have requirement to call python notebook via init script.
Btw I managed to access the secrete from secrete scopeโ and may be I had some typo.
โexample:
Set below in environment variable of cluster between bracket
DToken=โsecretes/scope/secretesKey
And remove the DToken from spark environments variable so that it won't be available after the init script.
Example: sed -i '/^DโToken/d' /databricks/spark/conf/spark-env.sh