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

Refactor AWS auth across plugins and upgrade SDK #53

Merged
merged 6 commits into from
May 16, 2017
Merged

Conversation

manojlds
Copy link
Member

No description provided.

@manojlds manojlds requested a review from ashwanthkumar May 12, 2017 19:20
@manojlds
Copy link
Member Author

@ashwanthkumar Let me know if this is inline with what you had in mind in #41

@@ -187,4 +199,13 @@ public RevisionStatus getLatest(AmazonS3Client client, Artifact artifact) {
}
return null;
}

public static AmazonS3 getS3client(GoEnvironment env) {
AmazonS3ClientBuilder amazonS3ClientBuilder = AmazonS3ClientBuilder.standard();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manojlds I'm not aware of the latest client authentication chain. But does it cover all the things as specified here?

Copy link
Member Author

@manojlds manojlds May 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The below in the code you referenced:

new EnvironmentVariableCredentialsProvider() - Present
new SystemPropertiesCredentialsProvider() - Present
new ProfileCredentialsProvider() - Present
new InstanceProfileCredentialsProvider() - Present
new BasicAWSCredentialsProvider(accessKey, secretKey) - Not needed. Note that the code gets the creds from env vars and then passes as params.
new AnonAWSCredentialsProvider() - Present

Also adds ECS support :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 merge away!

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

Successfully merging this pull request may close these issues.

2 participants