v1
latestOpenAPI 3.0.12026-07-177949123.5 KBv1/ssh
Enrollment with public key
Enroll for a ssh certificate.
post/v1/ssh/certificaterequest
Request body
Example request
{
"end_entity_profile": "ExampleEEP",
"certificate_profile": "ENDUSER",
"certificate_authority": "ExampleCA",
"key_id": "ski-02",
"comment": "Yellow fish under blue water",
"public_key": "ssh-rsa AAA...EWj",
"principals": [
"Wishman",
"Bradman"
],
"critical_options": {
"forceCommand": "./init.sh",
"sourceAddress": "1.2.3.0/24,1.10.10.1/32"
},
"username": "JohnDoe",
"password": "foo123",
"not_before": "ISO 8601 Date string, eg. '2023-06-15T14:07:09Z'",
"not_after": "ISO 8601 Date string, eg. '2024-06-15T14:07:09Z'"
}Response
Successful response
Example response
{
"certificate": "YzNOLi4uVDA5",
"response_format": "BYTE"
}