API Testing · Senior · Question 67 of 75

What is a safe practice for API tests that need real secrets in CI?

Show the answer

Correct answer: Inject them from a secret store with least privilege and rotation

Explanation

Test accounts should have minimal rights, short-lived tokens and be separate from production credentials.

Further reading

Problem with a question

API Testing · Senior · question 67

Test yourself

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

Take this quiz