시작하기무료로 시작하기

Decide who may assume the role

Your build jobs run outside AWS, so no role is attached and the credential chain finds nothing to pick up. Instead the CI platform signs a short-lived OIDC token naming the repository the job ran in, and STS trades that token for temporary credentials.

Whether the trade succeeds is decided by the trust policy: the rule written on reports-deploy-role in advance, saying who may assume it. Four build jobs are presenting tokens this morning.

Open the Trust policy console and require the issuer on its own, then run the four jobs. Three come back with credentials. Add the repository condition and run them again.

What does the issuer-only run tell you?

이 연습은 강의의 일부입니다

Using AWS Security for Developers

강의 보기

실습형 인터랙티브 연습문제

이론을 실습으로 바꾸는 인터랙티브 연습 중 하나를 만나보세요

연습 시작