cURL
SSH
Create
Create a SSH Connection.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check out the configuration docs for SSH Connections to learn how to obtain
the required credentials.
Body
application/json
- Option 1
- Option 2
The method used to authenticate with SSH.
Available options:
password The credentials used to connect with SSH.
The name of the SSH Connection to create. Must be slug-friendly.
Required string length:
1 - 64An optional description for the SSH Connection.
Maximum string length:
256The ID of the project to create the SSH Connection in.
Not supported for SSH Connections.
Available options:
false The Gateway ID to use for this connection.
Not supported for SSH Connections.
Available options:
false Not supported for SSH Connections.
Response
Default Response
- SSH (Password)
- SSH (SSH Key)