I saw that there is build-in support to attach secrets to a notebook, which I did for a database connection string. But I cannot find any documentation on how to use those secrets in my codebase.
How do I use my secrets?
I saw that there is build-in support to attach secrets to a notebook, which I did for a database connection string. But I cannot find any documentation on how to use those secrets in my codebase.
How do I use my secrets?
Hello,
sorry for the confusing, this feature isn’t polished yet.
You can access your attached secrets as environment variables, for example:
import os
#%%
os.environ['key1']
Thank you for your quick and clear reply!