You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using gcp secret manager to store sensitive information; for example to know the password of the database I use ${sm.database.password}. I would to know whether there is a way to have an alternative value using from a env variable as well as default value; somethings like: ${sm.database.password:ENV_VAR:myPassword}
meaning: sm.database.password = secret manager variable
ENV_VAR = environment variable
myPassword = my local db password
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using gcp secret manager to store sensitive information; for example to know the password of the database I use ${sm.database.password}. I would to know whether there is a way to have an alternative value using from a env variable as well as default value; somethings like: ${sm.database.password:ENV_VAR:myPassword}
meaning: sm.database.password = secret manager variable
ENV_VAR = environment variable
myPassword = my local db password
Beta Was this translation helpful? Give feedback.
All reactions