R
Railway4mo ago
ewerx

SecretsUsedInArgOrEnv

Started seeing these warnings in the build logs: "SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data" -- one for each environment variable setup in the Variables that has keywords like "KEY" in the variable name. Is there an alternative way to setup these environment vars?
Solution:
hello, these warnings are only just warning, there is nothing wrong with passing in secrets via environment variables, and to answer your question, there's no other options anyway. for transparency, these warnings have since been turned off as they are extremely misleading....
Jump to solution
3 Replies
Percy
Percy4mo ago
Project ID: 57b677a5-3ab2-46ff-a4d3-d825953cabb9
ewerx
ewerxOP4mo ago
57b677a5-3ab2-46ff-a4d3-d825953cabb9
Solution
Brody
Brody4mo ago
hello, these warnings are only just warning, there is nothing wrong with passing in secrets via environment variables, and to answer your question, there's no other options anyway. for transparency, these warnings have since been turned off as they are extremely misleading.
Want results from more Discord servers?
Add your server