You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting AccessDeniedException error on both an IAM user assuming a role and AWS SSO federated identity assuming a role (permission set) when using aws-gate session but no errors reported when using AWS CLI.
Here's the inline policy for the role that the IAM user assumes:
Here's the error when terminating a session after aws-gate session
$ aws-gate session instance123
Starting session with SessionId: botocore-session-1582948225-8d8e183834f2b
$ exit
Exiting session with sessionId: botocore-session-1582948225-8d8e183834f2b.
An error occured (AccessDeniedException) when calling the TerminateSession operation: User: arn: aws:sts::987654321098:assumed-role/custom-ssm-role/botocore-session-1582948225 is not authorized to perform: ssm:TerminateSession on resource: arn:aws:ssm:us-east-1:987654321098:session/botocore-session-1582948225-8d8e183834f2b
Using the AWS CLI with no errors and able to terminate session fine with an active session running on another terminal.
Getting AccessDeniedException error on both an IAM user assuming a role and AWS SSO federated identity assuming a role (permission set) when using aws-gate session but no errors reported when using AWS CLI.
Here's the inline policy for the role that the IAM user assumes:
Here's the error when terminating a session after aws-gate session
Using the AWS CLI with no errors and able to terminate session fine with an active session running on another terminal.
The text was updated successfully, but these errors were encountered: