Linked Questions

Popular Questions

How to use dbutils.secrets in a spark jar

Asked by At

So I'm currently trying to set secrets for my Databricks development environment. I have successfully set these using the Databricks-cli. I am now trying to use these in my spark jar (written in scala). However it need to compile locally and the in ci/cd pipeline in order to be pushed live.

However I cannot find in which package dbutils is located.

... = dbutils.secrets.get(scope = "SCOPE", key = "VARIABLE")

This is the usecase that I am trying to implement and would appreciate any help!

Related Questions