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

fix: resolve the access key to the secret value #3207

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Sep 14, 2022

Summary

The access key being used for the getJWK call to the server was being used directly from the command line options. If a user specified a value of env:... or file:... then the connector would have sent the wrong value for the access key.

This PR fixes the problem by first resolve the access key to the value stored in secrets, and using that as the value for the auth header.

Not entirely sure how to write a test for this since we can't easily run the connector in isolation until #2613 is merged.

@dnephin dnephin merged commit e54ebda into main Sep 15, 2022
@dnephin dnephin deleted the dnephin/connector-fix-reading-access-key branch September 15, 2022 16:22
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