Create a certificate authority

Creates a new certificate authority and returns the details for the new authority along with a secret that must be provided whenever you wish to create new certificates. .

POST
https://pki.infra.katapult.io/v1/authorities

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

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

subject Required

Subject None

label Required

String None

key_size

Integer 4096

years

Integer 30

Returned Object

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

{
    authority: Authority {
        id: String
        label: String?
        certificate: String
        next_serial: Integer
    }
    secret: String
}