A programmer is creating an app that requires access to an S3 bucket. The necessary permissions are added to an IAM role, allowing access to the S3 bucket. Which API call in the application should the developer make to enable the code to access the S3 bucket?
A. AccessRole: IAM
B. GetSessionToken (STS)
C. IAM:GetRoleAccess
D. STS: AssumeRole
Answer:D
A programmer is creating an app that requires access to an S3 bucket. The necessary permissions are added to an IAM role, allowing access to the S3 bucket. Which API call in the application should the developer make to enable the code to access the S3 bucket?
A. AccessRole: IAM B. GetSessionToken (STS) C. IAM:GetRoleAccess D. STS: AssumeRole