Skip to content
Sign upLog in
← Back to Community

File path of secret variables

Profile icon
travelmail26

How do we get the file path of a secret variable? I need to execute a command with a secret key in the shell.

Voters
Profile icon
travelmail26
Comments
hotnewtop
Profile icon
Coder100

its not in any 'path'. Replit detects your environment variables and defines them when you run them. When you are opening up the shell, or after the program exits, replit won't do that process automatically.

Profile icon
travelmail26

@Coder100
thanks! so how would i reference a secret in the shell? or is doing it though some python function better?

Profile icon
Coder100

do it through some python function

I literally said you can't

@travelmail26