Skip to main content
POST
Create an SSH key credential

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
name
string
required
generate
boolean
default:false
ssh_public_key
string | null

Response

SSH key credential created successfully

errors
ResourceError · object[]
id
string<uuid4> | null
name
string | null
private_key
string | null
success
boolean
default:true