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
- Generate the config json
- Use it as a config input parameter into a PCTL call
- Call will fail as unable to find key, since the key will be in the format
API_KEY, APIKEY