Docker and CI/CD · Senior · Question 34 of 75

An OIDC trust policy allows any workflow in the org to assume the production role. What's the risk?

Explanation

Restrict the sub claim to the specific repository and protected branch or environment, so only the reviewed deploy job gets credentials.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 34

Test yourself

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

Take this quiz