-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cross-Cccount assume role generally and locally for lookup (#229)
- Loading branch information
1 parent
c46c208
commit be536c1
Showing
13 changed files
with
258 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"status_code": 200, | ||
"data": { | ||
"Credentials": { | ||
"AccessKeyId": "ASIAVOAWVJQOEVY2AYGS", | ||
"SecretAccessKey": "uqF5Ju6SiZONEREDACTED123p5akjxfOJtmbT/V0ncDrcGwJKEta", | ||
"SessionToken": "FwoGZONEREDACTED123vYXdzEKn//////////wEaDOx+Sc+2WVjMjoMl6CKzAV+99cj7E5U7EGjZuLX+kebhSKEA+9cytjwyWAz593lUJWXoF3u7xA5gBUtksMxS/rxYfOU6uvB71vOz5CjfjUNxnpBk+V9yvPvQCRjhDy8+iWa97U123gyOFLXFD0Hs7IUBBAUpUwfXy3FxDhWLIjoHxfp7lVwu7uTV1AXGhR6A3+uHxGiBT/4OAqrw24DjAYlAqlZONEREDACTED123lZvB38g7d7ZgTfsA2lEGpxz2vBOiwkBfMVm6qizfKLK8kP0FMi072TPEoLu5bIj5AgHVQOnhaDhoucxIAP3linG2SrqlEcRQAwPkHQTp4uFIDgd=", | ||
"Expiration": { | ||
"__class__": "datetime", | ||
"year": 2020, | ||
"month": 11, | ||
"day": 5, | ||
"hour": 16, | ||
"minute": 0, | ||
"second": 54, | ||
"microsecond": 0 | ||
} | ||
}, | ||
"AssumedRoleUser": { | ||
"AssumedRoleId": "AROAVOAWVJQOLB24ILL25:ComposeX@render", | ||
"Arn": "arn:aws:sts::000000000000:assumed-role/testx/ComposeX@render" | ||
}, | ||
"ResponseMetadata": { | ||
"RequestId": "e6ed5816-c773-4e7c-a9f5-567fe35334ad", | ||
"HTTPStatusCode": 200, | ||
"HTTPHeaders": { | ||
"x-amzn-requestid": "e6ed5816-c773-4e7c-a9f5-567fe35334ad", | ||
"content-type": "text/xml", | ||
"content-length": "1062", | ||
"date": "Thu, 05 Nov 2020 15:45:54 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"status_code": 403, | ||
"data": { | ||
"Error": { | ||
"Type": "Sender", | ||
"Code": "AccessDenied", | ||
"Message": "User: arn:aws:sts::000000000000:assumed-role/AWSReservedSSO_PowerUserAccess_e9ddee7954f3b1a9/[email protected] is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::000000000000:role/test" | ||
}, | ||
"ResponseMetadata": { | ||
"RequestId": "3232e2a4-3bba-4068-905a-c9eed6aa3e4f", | ||
"HTTPStatusCode": 403, | ||
"HTTPHeaders": { | ||
"x-amzn-requestid": "3232e2a4-3bba-4068-905a-c9eed6aa3e4f", | ||
"content-type": "text/xml", | ||
"content-length": "451", | ||
"date": "Thu, 05 Nov 2020 15:47:19 GMT" | ||
}, | ||
"RetryAttempts": 0 | ||
} | ||
} | ||
} |
Oops, something went wrong.