How to user secrets

Hi, I’ve created a secret. How should i attach it into my code?

If i press Select to attach, i see nothing

Hi,

oh, we definitely need to polish the UX/UI here :slight_smile:

Such secrets are available as the environment variables and could be accessed for example using os.environ dictionary, e.g.:

import os
#%%
os.environ['key1']

“Select to attach” is a drop-down list which allows you to add other secrets to the notebook, in your case all the available secrets were already attached: