Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate security credentials obtained from Instance Metadata Service
Getting security credentials from Instance Metadata Service fails when an EC2 instance does not have permissions to assume a role. When that happens, we get a very unhelpful error message "Value cannot be null. (Parameter 'awsAccessKeyId')" Do response validation so that we get better exception message. See also aws/aws-cli#2060
- Loading branch information