I’ve tried looking through all of the available documentation on using the environment variables and can’t find anything about using the environment variables in the Run Command for your App/Component. I want to store some encrypted values in the environment variables and pass those in arguments with there run command after deploying an App. I am deploying a Worker, using a Docker image and my run command looks like this:
imapsync --user1 $USER1 --password1 $PASSWORD1 --user2 $USER2 --password2 $PASSWORD2 --subfolder2 $USER1 --gmail1 --gmail2
I want all of those variables to be environment variables that are passed in when run.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.