crypto

Generate a new, self-signed certificate-key pair

post/crypto/certificatekeypairs/generate/

Request body

common_namestring required
subject_alt_namestring
validity_daysinteger required
alg'rsa' | 'ecdsa' | 'ed25519' | 'ed448'

Response

pkstring uuid required
namestring required
fingerprint_sha256string nullable required

SHA256 fingerprint of the certificate

fingerprint_sha1string nullable required

SHA1 fingerprint of the certificate

cert_expirystring date-time nullable required

Certificate expiry date

cert_subjectstring nullable required

Certificate subject as RFC4514 string

private_key_availableboolean required

Show if this keypair has a private key configured or not

key_type'rsa' | 'ec' | 'dsa' | 'ed25519' | 'ed448' required
certificate_download_urlstring required

Get URL to download certificate

private_key_download_urlstring required

Get URL to download private key

managedstring nullable required

Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

Changes

No recorded changes to this endpoint across all 1 revision of this API.