Docker and CI/CD · Junior · Question 48 of 75

How should a workflow access an API token for deployment?

Explanation

Secrets are encrypted, masked in logs and not passed to workflows from forks by default. Even better are short-lived credentials via OIDC.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 48

Test yourself

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

Take this quiz