cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Query on using secret scope for dbt-core integration with databricks workflow

Ram-Dev7
New Contributor

Hello all,

I am currently configuring dbt-core with Azure Databricks Workflow and using Azure Databricks M2M (Machine-to-Machine) authentication for this setup. I have the cluster ID and cluster secret ID stored in Databricks secret scope.

I am seeking advice on how to use these secrets in the `profiles.yml` file without exposing them as environment variables within Databricks. I need to ensure that these sensitive credentials remain secure while running through the Databricks workflow.

Has anyone successfully managed this setup or could provide any guidance on how to securely integrate these secrets into `profiles.yml` for dbt-core on Azure Databricks? Any inputs or best practices would be greatly appreciated.

Thank you!

https://learn.microsoft.com/en-us/azure/databricks/dev-tools/auth/oauth-m2m

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @Ram-Dev7

For more detailed instructions, you can also refer to the official Microsoft Learn documentation.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!