A SysOps administrator is creating an Amazon Kinesis Data Firehose delivery stream that must write log data to an Amazon S3 bucket. The administrator has already created an IAM role with the necessary S3 permissions and a trust policy that allows Kinesis Firehose to assume the role. However, when the administrator attempts to create the delivery stream using this role, the operation fails with an authorization error.
Which IAM permission must be granted to the SysOps administrator's IAM policy to resolve this issue?
- Aiam:AttachRolePolicy
- Bsts:AssumeRole
- iam:PassRoleAnswer
- Dsts:GetSessionToken
Answer
The permission that allows the administrator to pass the IAM role to the AWS service is iam:PassRole.
The correct answer is the permission that allows an administrator to pass an IAM role to an AWS service (such as Kinesis Data Firehose) so that the service can assume the role and perform actions on their behalf. The iam:PassRole permission must be explicitly granted in the administrator's IAM policy for this operation to succeed.
Step-by-Step Solution
Key Concept
Delegating IAM roles to AWS services requires the iam:PassRole permission on the user or role performing the configuration.
Estimated Time:45s