Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

credentials_process is unsupported #45

Open
dunindd opened this issue Mar 13, 2019 · 0 comments
Open

credentials_process is unsupported #45

dunindd opened this issue Mar 13, 2019 · 0 comments

Comments

@dunindd
Copy link

dunindd commented Mar 13, 2019

I have an ~/.aws/credentials file with the following content:

[default]
credential_process = get-toke --role my-role
region = us-west-2

When running aws-es-proxy I expect the program to execute the credentials_process program to retrieve AWS credentials. However, it does not seem that this is supported. I also notice that there is a request to support multiple profiles for AWS (#34).

I was able to resolve my issue, and support multiple profiles by simply bumping the AWS SDK version.

$ git diff glide.yaml 
diff --git a/glide.yaml b/glide.yaml
index 9282e93..c48fa3a 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -5,7 +5,7 @@ owners:
   email: [email protected]
 import:
 - package: github.com/aws/aws-sdk-go
-  version: ~v1.12.61
+  version: ~v1.18.1
   subpackages:
   - aws/credentials
   - aws/session

This also allowed me to run to choose the profile I wanted to use with aws-es-proxy as follows:

ENV AWS_DEFAULT_PROFILE=my-profile aws-es-proxy ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant