Kraig Amador
|
a23bcf2ec9
|
Added accountid to AWSClient and set it early in the initialization phase. We use iam.GetUser(nil) scattered around to get the account id, but this isn't the most reliable method. GetAccountId now uses one more method (sts:GetCallerIdentity) to get the account id, this works with federated users.
|
2016-05-05 07:02:12 -07:00 |
Kraig Amador
|
dd77bf68da
|
Fixed up some confusion between AWS_TOKEN and AWS_PROFILE. Also allowing testing when AWS_PROFILE is set without AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID.
|
2016-04-27 14:18:20 -07:00 |
Colin Hebert
|
f1f602cdf6
|
aws: Enable account ID check for assumed roles + EC2 instances
|
2016-04-27 12:56:03 +02:00 |