How do I use secrets in a notebook using Kotlin? I’ve seen some other posts on the forum, although they seem to be for Python. Thanks!
Hi @ccjernigan,
Secrets are passed as environment variables, so after you’ve attached the secret (and restarted the kernel) you can access them with System.getenv("my_secret_key")
It does not seem that there is an option to attach a secret to Kotlin notebook.
Hi @noraltavir,
In your screenshot the “Space client auth” secret is already attached so the remaining list is empty
Thanks. I did not work the first time, but it seems to be working today after I’ve restarted everything.