Rohit, I think Jordan is referring to the KVM Host add process. Per the API documentation for addHost, it requires username and password and does not appear to support using SSH keys.
Am I correct in my understanding of your question Jordan? Thanks, Alex [photo]<http://www.ussignal.com/> Alex Dietrich Senior Network Engineer, US Signal 616-233-5094<tel:616-233-5094> | www.ussignal.com<https://www.ussignal.com> | [email protected]<mailto:[email protected]> 201 Ionia Ave SW, Grand Rapids, MI 49503<https://maps.google.com/?q=201%20Ionia%20Ave%20SW,%20Grand%20Rapids,%20MI%2049503> [linkedin]<https://www.linkedin.com/company/us-signal/> [facebook]<https://www.facebook.com/ussignalcom/> [youtube]<https://www.youtube.com/channel/UCaFBGFfXmHziWGTFqjGzaWw> IMPORTANT: The contents of this email are confidential. Information is intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. [__tpx__] From: Rohit Yadav <[email protected]> Date: Monday, August 5, 2024 at 10:34 AM To: [email protected] <[email protected]> Subject: Re: Join KVM host from CLI using only user and certificate EXTERNAL Hi Jordan, For the CLI (cmk), we support either username-password based authentication or API-secret key based authentication. Certificate-based (mtls) authentication feature is unavailable. Regards. ________________________________ From: jordan j <[email protected]> Sent: Monday, August 5, 2024 19:42 To: [email protected] <[email protected]> Subject: Join KVM host from CLI using only user and certificate Hello everyone, I was exploring the host section of the CMK API reference but could not find a way to add a host (KVM one) to Cloudstack using user + certificate instead of user + password. Is such feature available? Best regards, Jordan
