- 5462 Views
- 7 replies
- 4 kudos
Hi there, if I set any secret in an env var to be used by a cluster-scoped init script, it remains available for the users attaching any notebook to the cluster and easily extracted with a print.There's some hint in the documentation about the secret...
- 5462 Views
- 7 replies
- 4 kudos
Latest Reply
@Fermin Vicente good to know that this approach is working well. but please make sure that you use this approach at the end of your init script only
6 More Replies
- 2590 Views
- 1 replies
- 1 kudos
I created a secret on databricks using the secrets API.Code :Scope_name : {"scope": "dbtest", "initial_manage_principal":"user"}
Resp= requests.post('https://instancename.net/mynoteid/api/2.0/secrets/scopes/create',json=Scope_name)Similar way, I adde...
- 2590 Views
- 1 replies
- 1 kudos
Latest Reply
You'll have to specify the scope and the key in the format below to get the value. dbutils.secret.get(scope="dbtest", key="user") Probably a good idea to review the Secret Management documentation for details on how to get this setup the right way - ...