AWS, Security, Architecture, Authentication, Authorization.
this example, we use our service’s role to authenticate with IAM, create the auth headers in line 7, and send them in line 15. Assume Role In this use case, we need to create a role in service C’s account with permissions to execute the API Gateway and let a principal in services A and B assume it.