Commit Graph

11 Commits (551eedcf2616376b00d7da170b09f682bbfa3445)

Author SHA1 Message Date
Radek Simko e74449792d aws: Refactor API mock helpers (#12769)
9 years ago
Joshua Carp 1f8c2e4c69 Parse AWS partition from ARN.
10 years ago
Radek Simko 2ad84a51df
provider/aws: Fix misspelled words
10 years ago
James Nugent e3ccb51168 provider/aws: Add assume_role block to provider
10 years ago
Ian Duffy 767914bbdc [GH-1275] Support for AWS access via IAMs AssumeRole functionality
10 years ago
James Nugent 21d1ac41fa Merge branch 'd-update-aws-sdk'
10 years ago
Renier Morales c2bcb5fbe5 Skip IAM/STS validation and metadata check (#7874)
10 years ago
James Nugent 6ddb8f5975 provider/aws: session.New -> session.NewSession()
10 years ago
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.
10 years ago
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.
10 years ago
Colin Hebert f1f602cdf6 aws: Enable account ID check for assumed roles + EC2 instances
10 years ago