Secret now showing up in the pod `env` output
hi, i added some secrets and added those secrets as environment variables for my pod, but i couldn't see it when i run
env
in my pod,
i'm using {{ RUNPOD_SECRET_secret_name }} as the environment variable value6 Replies
it should be on
AWS_ACCESS_KEY_ID
if im not wrong?
How are you accessing the environment variable on your pod?
a web terminal? a ssh connection?ssh connection, I just run
env
command to show the env varsOkay so, what i think you need to do is
add that line on your dockerfile CMD or Entrypoint
ah, i see, i'll try it
thanks
btw, isn't exporting secret envs a default behavior for public template?
if you connect over tcp ssh it wont share env variables
ah, i see, got you!