POST
/
api
/
v1
/
ssh
/
ca
curl --request POST \
  --url https://us.infisical.com/api/v1/ssh/ca \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "<string>",
  "friendlyName": "<string>",
  "keyAlgorithm": "RSA_2048"
}'
{
  "ca": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "projectId": "<string>",
    "friendlyName": "<string>",
    "status": "<string>",
    "keyAlgorithm": "<string>",
    "publicKey": "<string>"
  }
}

Body

application/json
projectId
string
required

The ID of the project to create the SSH CA in.

friendlyName
string
required

A friendly name for the SSH CA.

keyAlgorithm
enum<string>
default:
RSA_2048

The type of public key algorithm and size, in bits, of the key pair for the SSH CA.

Available options:
RSA_2048,
RSA_4096,
EC_prime256v1,
EC_secp384r1

Response

200
application/json
Default Response
ca
object
required

Was this page helpful?