You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "rohityadavcloud (via GitHub)" <gi...@apache.org> on 2024/05/04 12:42:30 UTC

[PR] network: when using API key & secret key drop params [cloudstack-cloudmonkey]

rohityadavcloud opened a new pull request, #150:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/150

   Params need to be dropped as apikey & secretkey based URL has all the params and it causes signature validation issues when the same params are also posted again. For example, add host API with username, password params.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] network: when using API key & secret key drop params [cloudstack-cloudmonkey]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on PR #150:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/150#issuecomment-2094151099

   Steps to reproduce the issue:
   - Create profile with only apikey and secret key set
   - Try to add a host, it fails with HTTP 401, on deep dive - it appears signature fails to match
   
   Fix: don't send both encoded params as part of the URL and also param that may be posted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] network: when using API key & secret key drop params [cloudstack-cloudmonkey]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud merged PR #150:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/150


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org