amazon-iam

How to assume an AWS role from another AWS role?

How to assume an AWS role from another AWS role? Question: I have two AWS account – lets say A and B. In account B, I have a role defined that allow access to another role from account A. Lets call it Role-B { “Version”: “2012-10-17”, “Statement”: [ { “Effect”: “Allow”, “Principal”: { “AWS”: “arn:aws:iam::********:role/RoleA” …

Total answers: 1

How to choose an AWS profile when using boto3 to connect to CloudFront

How to choose an AWS profile when using boto3 to connect to CloudFront Question: I am using the Boto 3 python library, and want to connect to AWS CloudFront. I need to specify the correct AWS Profile (AWS Credentials), but looking at the official documentation, I see no way to specify it. I am initializing …

Total answers: 5