R
RunPod3mo ago
ribbit

Can local development use Runpod Secrets?

I discover that runpod serverless has this specify Secret feature. I want to use this to store values like environment variables.
{{ RUNPOD_SECRET_hello_world }}
{{ RUNPOD_SECRET_hello_world }}
How can I define secrets for my local development server as well? So that I can emulate accessing secrets in the actual serverless pod? Thanks
Solution:
Yeah, as far as I know, we don't provide support for this, but setting environment variables locally shouldn't be too hard?
Jump to solution
2 Replies
justin
justin3mo ago
I don't think that you can. But I assume, you could set a somewhat like environment variable yourself locally.
Solution
haris
haris3mo ago
Yeah, as far as I know, we don't provide support for this, but setting environment variables locally shouldn't be too hard?