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

AWS Session provider doesn't work #15

Closed
dshmelev opened this issue Nov 2, 2020 · 1 comment
Closed

AWS Session provider doesn't work #15

dshmelev opened this issue Nov 2, 2020 · 1 comment

Comments

@dshmelev
Copy link

dshmelev commented Nov 2, 2020

I tried to run Parnas on ECS FARGATE with task-role. And there is a problem with credentials:

Exception in thread "main" 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)), null: null]

Parnas does not support AWS Session Credentials Provider (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN).
And to use the AWS environment (ECS, EC2, and other) looks problematic.

@sndl
Copy link
Owner

sndl commented Nov 6, 2020

EC2ContainerCredentialsProviderWrapper is now added to the credentials provider chain, this allows to use parnas from various AWS services provided that proper role is assigned to the instance/task

Try release 0.2.2

@sndl sndl closed this as completed Nov 6, 2020
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

2 participants