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

X-API-KEYID specified in auth and in request call leading to a concatenated string that fails paralus API call #67

Open
2 tasks done
estein9825 opened this issue Feb 5, 2024 · 0 comments
Labels
bug Something isn't working new Needs triage

Comments

@estein9825
Copy link

Expected vs actual behavior

Any PCTL call fails due to having that X-API-KEYID header twice, which went calling paralus API leads to a concatenated API Key and a failure:

https://github.com/paralus/cli/blob/b87e7047311b8e13b7e06c1500ed1e515adfb5fe/pkg/authprofile/key_profile.go#L72C17-L72C28

Steps to reproduce the bug

  1. Generate the config json
  2. Use it as a config input parameter into a PCTL call
  3. Call will fail as unable to find key, since the key will be in the format API_KEY, APIKEY
  • I've described the bug, included steps to reproduce it, and included my environment setup with all customizations.
  • I'm using the latest version of the project.
@estein9825 estein9825 added bug Something isn't working new Needs triage labels Feb 5, 2024
@estein9825 estein9825 changed the title X-API-KEYID specified in auth and in request call leading to a concatenated string that fails paralus X-API-KEYID specified in auth and in request call leading to a concatenated string that fails paralus API call Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant