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