Is there any way to access secrets from a static html space (javascript)?

You can set secrets via API, but I don’t think you can retrieve it unless you’re inside a Gradio/Streamlit/Docker SDK. Since if you use a Secret on a static page, it won’t be secret anymore.

1 Like