Secrets in Kotlin Notebooks?

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")