Hide function definition in Unity catalog

NehaR
New Contributor III

Hi ,

I have created a function to anonymize user id using secret.

I want to give access of this function to other users so they can execute it without giving access to the secret .

Is it possible in databricks? I have tested it and see user is not able to access the function without required permission on the secret. 

Please suggest if there is any other better approach.

 

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @NehaR,

I am afraid it might not be possible without giving secret access to the users. Another approach would be to use a Service Principal.

NehaR
New Contributor III

Hi Alberto,

Please explain the service principal approach in detail.

 

Thanks

Neha