cURL
curl --request GET \ --url https://us.infisical.com/api/v1/ssh/hosts/{sshHostId}
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "projectId": "<string>", "hostname": "<string>", "userCertTtl": "<string>", "hostCertTtl": "<string>", "userSshCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "hostSshCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "loginMappings": [ { "loginUser": "<string>", "allowedPrincipals": { "usernames": [ "<string>" ], "groups": [ "<string>" ] }, "source": "host" } ], "alias": "<string>" }
Documentation IndexFetch the complete documentation index at: https://infisical.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the SSH host to get.
Default Response
Show child attributes
Was this page helpful?