An OIDC-authenticated workload chains from a broker role into an S3 signing role whose maximum session duration is six hours. It must issue download URLs usable for three hours without replacement; assuming permissions remain valid and no policy further limits signature age, which design meets this requirement?
Show the answer
Correct answerA. Federate directly into the signing role for four hours and generate three-hour URLs.
AWhy this is right: Direct web identity federation avoids role chaining, and four-hour credentials can support a three-hour presigned URL.
BWhy not this: Direct federation avoids chaining, but one-hour credentials still cannot support three-hour URL validity.
CWhy not this: The URLs expire when the one-hour signing credentials expire, regardless of their requested URL expiration.
DWhy not this: Role chaining limits the session to one hour, even when the signing role allows a longer maximum duration.
Direct AssumeRoleWithWebIdentity federation can obtain a four-hour session when the role permits it, allowing three-hour presigned URLs. Role chaining limits the signing session to one hour, and a presigned URL cannot outlive the credentials that signed it.