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: 

Is it possible to turn off the redaction of secrets? Is there a better way to solve this?

StephanieAlba
Databricks Employee
Databricks Employee

As part of our Azure Data Factory pipeline, we utilize Databricks to run some scripts that identify which files we need to load from a certain source. This list of files is then passed back into Azure Data Factory utilizing the Exit status from the notebook.

The problem that we’ve noticed is that portions of certain filenames are being [REDACTED] as there is a pattern in the filename that matches one of our secrets.

My questions for you:

  • Is it possible to turn off the redaction of secrets?
    • Currently doesn’t pose an issue for us as developers have access to key vaults in the environments they have access to Dataabricks in
  • Is there another way to return values from a Notebook to Data Factory other than the dbutils.notebook.exit() function?

1 REPLY 1

StephanieAlba
Databricks Employee
Databricks Employee

No, it is not possible to turn off redaction. No, there is not another way to return values from a notebook.

1) Using a native Databricks feature such as Autoloader is suggested.

2) They could write the list of files to be processed to a delta table and then use a lookup activity - https://docs.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity

Connect with Databricks Users in Your Area

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