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

API deployment does not set new auth basic password #481

Open
dinesh-ax opened this issue May 3, 2024 · 0 comments
Open

API deployment does not set new auth basic password #481

dinesh-ax opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dinesh-ax
Copy link

dinesh-ax commented May 3, 2024

APIM-CLI version

1.13.6

API-Management version

7.7.20221130

Bug description

APIM-CLI API import does not deploy new password on outbound http basic authentication.
"No change" detected by APIM-CLI on API Import.

As you can see on the trace :
[APIChangeState] DEBUG: No change for property: authenticationProfiles
[Desired: [AuthenticationProfile
[name=_default, isDefault=true, parameters={password='XXX', username='xxx'}, type=http_basic]]
vs Actual: [AuthenticationProfile
[name=_default, isDefault=true, parameters={password='YYY'test, username='xxx'}, type=http_basic]]]

Command used to import:
/scripts/apim.sh api import -timeout 200000 -force -retryDelay 15000 -u apiadmin -p 'XXXXXX' -h 'XXX' -port 443 -c xxx.json

It seems during the comparison of the property, password is not checked while username is checked.
System property was also modify to check if the issue is related to the fact that password is masked but still the same issue.

How can we fix this to update passwords in outbound basic authentication?
Is it possible to re-check if this behavior is not also in outbound SSL with client certificate change?

Steps to reproduce

No response

Relevant log output

No response

@dinesh-ax dinesh-ax added the bug Something isn't working label May 3, 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
Projects
None yet
Development

No branches or pull requests

1 participant