mmmorris1975 / aws-runas

aws-runas rewritten in Go
MIT License
87 stars 20 forks source link

Error loading credentials (beta-2) #36

Closed balane closed 5 years ago

balane commented 5 years ago

I get the following error when my application tries to load credentials after starting it with aws-runas beta-2 (on Windows):

Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), com.amazonaws.auth.profile.ProfileCredentialsProvider@667941f4: AWS credential profiles file not found in the given path: C:\projects\xxxx\xxxx\NUL, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@3b30f369: The full URI (http://[::1]:55738/credentials) contained withing environment variable AWS_CONTAINER_CREDENTIALS_FULL_URI has an invalid host. Host can only be one of [localhost, 127.0.0.1]]

mmmorris1975 commented 5 years ago

Check out https://github.com/mmmorris1975/aws-runas/releases/tag/1.4.0-beta3 which hopefully addresses this problem

mmmorris1975 commented 5 years ago

Hi! Did the update address the issue you were seeing?

balane commented 5 years ago

Yes it did. Thank you and nice work.