Skip to content

← All questions

Secret literal at "env.vars.password" — I want the password in the env file, why is that refused?

Asked 12,680 views2 answers

Put the login password straight into projects/demo-shop/envs/staging.yaml so the data-driven login scenarios can pick it up:

yaml
vars:
  defaultProduct: Sauce Labs Backpack
  password: hunter2

Every command now refuses to start:

text
✖ CONFIG_SECRET_LITERAL: Secret literal at "env.vars.password". Use ${VAR} and put the value in .env.<env>.
  hint: Replace the value with "${PASSWORD}" and add PASSWORD=... to your .env file.
  docs: https://docs.sdods.com/docs/guides/configuration

This is a throwaway demo account. Is there a way to say "yes I meant it"?

asked by Hsu Wei-lin15,230 ·

2 answers

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