Hide function definition in Unity catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 01:24 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 02:05 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 03:38 PM
Hi Alberto,
Please explain the service principal approach in detail.
Thanks
Neha

