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. .
If successful, this endpoint will return a 200 OK status.
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 |
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 }