How to access Repo secrets

How can I access the Repo secrets in the code? I can’t seem to find any related documentation. Appreciate any help!

NVM, I solved it. It seems that the secrets are available as environment variables: Spaces Overview.

1 Like