-
Notifications
You must be signed in to change notification settings - Fork 95
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
Process credentials #178
Process credentials #178
Conversation
Hi, Thank you for this PR. We are prioritizing now. It is not mandatory, but do you have a chance to add unit tests like this? https://github.com/awslabs/aws-fluent-plugin-kinesis/blob/master/test/kinesis_helper/test_client.rb#L48-L62 |
Also, if possible, could you squash your commits to a single (or a few) commit(s)? |
For maintainers: we should point this (or equivalent) link in README to describe danger of the feature. https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes |
d860f38
to
0e82e7f
Compare
@riywo Thank you for looking into this! I have implemented suggested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a small comment.
Thank you for adding unit tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added a small comment.
Thank you for your contribution!
dc9006f
to
12bb957
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your quick response! I added one more small comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added one more comment.
Add process_credentials config Update client.rb Add process_credentials config Update README.md Update README.md Add unit test Update readme Add omission if aws-sdk-core version < 3.24.0 Make `process` attribute mandatory. Make `process` attribute mandatory. Add config error
12bb957
to
ff6590c
Compare
Added suggested ConfigError for aws-sdk-core < 3.24.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Preparing to merge. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thank you for your contribution.
We've released v3.1.0 today. Thank you for your all contribution! https://rubygems.org/gems/fluent-plugin-kinesis/versions/3.1.0 |
Description of changes:
Add a new config section to implement Aws::ProcessCredentials.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.