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

Wrong aws_iam_authorization access key id setting #1332

Merged
merged 3 commits into from
Nov 16, 2020

Conversation

XavierGeerinck
Copy link
Contributor

When getting the ACCESS_KEY_ID for AWS from Environment variables (which is currently the only working option), the aws_iam_authorization scaler would check if metadata.awsAccessKeyIDFromEnv was set, but it would then utilize the metadata.awsAccessKeyId for the name... while in the secretAccessKey it would then use the FromEnv one. This fixes that

Provide a description of what has been changed

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • Tests have been added
  • A PR is opened to update the documentation on https://github.com/kedacore/keda-docs
  • Changelog has been updated

Fixes #

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Good catch! Just please fix the DCO, thanks 😄

When getting the ACCESS_KEY_ID for AWS from Environment variables (which is currently the only working option), the `aws_iam_authorization` scaler would check if metadata.awsAccessKeyIDFromEnv was set, but it would then utilize the metadata.awsAccessKeyId for the name... while in the secretAccessKey it would then use the `FromEnv` one. This fixes that

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>
@XavierGeerinck
Copy link
Contributor Author

Good catch! Just please fix the DCO, thanks 😄

Done! Going to become a pro in this DCO signing 😂😅 thanks!

@zroubalik
Copy link
Member

One more thing, could you please add this PR to the changelog? (Unreleased, Improvements section).

Thanks a lot for doing this!

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>
@zroubalik zroubalik merged commit b25f7b0 into kedacore:main Nov 16, 2020
@XavierGeerinck XavierGeerinck deleted the patch-1 branch November 16, 2020 11:51
arschles pushed a commit to arschles/keda that referenced this pull request Dec 1, 2020
* Wrong aws_iam_authorization access key id setting

When getting the ACCESS_KEY_ID for AWS from Environment variables (which is currently the only working option), the `aws_iam_authorization` scaler would check if metadata.awsAccessKeyIDFromEnv was set, but it would then utilize the metadata.awsAccessKeyId for the name... while in the secretAccessKey it would then use the `FromEnv` one. This fixes that

Signed-off-by: Xavier Geerinck <xavier.geerinck@gmail.com>
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
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