crypto_certificatekeypairs_list
GET/crypto/certificatekeypairs/
CertificateKeyPair Viewset
Request
Query Parameters
Only return certificate-key pairs with keys
Default value: true
Which field to use when ordering the results.
A page number within the paginated result set.
Number of results to return per page.
A search term.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
pagination
object
required
results
object[]
required
Get certificate Hash (SHA256)
Get certificate Hash (SHA1)
Get certificate expiry
Get certificate subject as full rfc4514
Show if this keypair has a private key configured or not
Get the private key's type, if set
Get URL to download certificate
Get URL to download private key
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.
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"fingerprint_sha256": "string",
"fingerprint_sha1": "string",
"cert_expiry": "2024-07-29T15:51:28.071Z",
"cert_subject": "string",
"private_key_available": true,
"private_key_type": "string",
"certificate_download_url": "string",
"private_key_download_url": "string",
"managed": "string"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}