DaanHoogland commented on PR #174:
URL: 
https://github.com/apache/cloudstack-cloudmonkey/pull/174#issuecomment-3178553661

   @shwstppr work kind of like expected. I have one functional concern though:
   ```
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > set apikey 
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > set apikey plplpl
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > set secretkey plplpl
   (randy) 🐱 > sync
   πŸ™ˆ Error: (HTTP 401, error code <nil>) unable to verify user credentials 
and/or request signature
   (randy) 🐱 > set secretkey
   (randy) 🐱 > sync
   Discovered 877 APIs
   ```
   as you can see above, setting only a β€œwrong” APIkey does not stop me from 
logging in. Is that what we want? I think this does not address all of @ingox 
concern. In this way we can still fool ourselfves.
   
   ```
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -p randy -k plpl
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > exit
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -p randy -k 
LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > exit
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -p randy -k 
LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q
 -s 
R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > exit
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -p randy -k 
LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q
 -s 
R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3y
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   Discovered 877 APIs
   ```
   
   when not using a profile as the basis it works as expected btw:
   
   ```
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -k <good key> -s <good key> 
-u http://10.0.34.242:8080/client/api
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   Discovered 877 APIs
   (randy) 🐱 > exit
   ~/Downloads/cmk-binaries.pr174/cmk.darwin.arm64 -k <good key> -s <bad key> 
-u http://10.0.34.242:8080/client/api
   Apache CloudStack 🐡 CloudMonkey 6.4.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (randy) 🐱 > sync
   πŸ™ˆ Error: (HTTP 401, error code <nil>) unable to verify user credentials 
and/or request signature
   ```
   
   What do you think about my comment 
[here}(https://github.com/apache/cloudstack-cloudmonkey/issues/168#issuecomment-3167064236)
 ?  In short, I would expect any configured credentials to be ignored once the 
CLI contains any credentials.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to