Cypress · Junior · Question 50 of 75

Why should secrets not be committed in cypress.env.json?

Show the answer

Correct answer: Anyone with repo access could read and misuse them

Explanation

Inject secrets in CI as CYPRESS_* variables or from a secret store.

Further reading

Problem with a question

Cypress · Junior · question 50

Test yourself

Take the Cypress · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz