Skip to content

← All questions

What does ${DEMO_SHOP_PASSWORD:-secret_sauce} mean, and how does it get past the secret check?

Asked 7,690 views1 answer

The demo staging file ships with this:

yaml
vars:
  standardPassword: "${DEMO_SHOP_PASSWORD:-secret_sauce}"

Two questions. What is the :- part, and why is a key called standardPassword allowed to carry a literal password as a fallback when a plain password: secret_sauce is rejected?

asked by Lars Vinter276 ·

1 answer

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related