Create a certificate

This method will create a new certificate & private key, signed by the given authority. .

POST
https://pki.infra.katapult.io/v1/authorities/{authority}/certificates

If successful, this endpoint will return a 200 OK status.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

authority Required

AuthorityLookup None

secret Required

String None

subject Required

Subject None

usage

CertificateUsage None

sans

SANSet None

Potential Errors

The following errors may occur during this request.

Details HTTP status

authority_not_found

404 Not Found

invalid_authority_secret

The secret provided was invalid for the given authority.

403 Forbidden

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    certificate: String
    private_key: String
}