post/authorizer/api/v1/cert/search

Search certificates

idstring
Format
uuid
typestring
key_idstring
owner_idstring
Format
uuid
subjectstring
issuerstring
not_beforestring
not_afterstring
include_revokedboolean
include_expiredboolean

Responses

Request examples

{
  "id": "5bf77342-221c-11ee-be56-0242ac120002",
  "type": "string",
  "key_id": "string",
  "owner_id": "5bf77342-221c-11ee-be56-0242ac120002",
  "subject": "string",
  "issuer": "string",
  "not_before": "string",
  "not_after": "string",
  "include_revoked": true,
  "include_expired": true
}

Response examples

Successful request, respond with a list of matching certificates

{
  "count": 123,
  "items": [
    {
      "id": "5bf77342-221c-11ee-be56-0242ac120002",
      "type": "string",
      "serial": "string",
      "owner_id": "5bf77342-221c-11ee-be56-0242ac120002",
      "revoked": "string",
      "revocation_reason": "string",
      "cert": "string",
      "chain": "string",
      "issuer": "string",
      "subject": "string",
      "not_before": "string",
      "not_after": "string",
      "key_usage": "string",
      "basic_constraints": "string",
      "extensions": "string",
      "fingerprint_sha1": "string",
      "fingerprint_sha256": "string",
      "subject_key_id": "string",
      "authority_key_id": "string",
      "status": "CERT_EXPIRED"
    }
  ]
}
get/authorizer/api/v1/cert

Get all Certificates

Authorizationstring

required

OAuth2 token

Default
"Bearer a-proper-token-goes-here"

Responses

Response examples

Successful request, respond with a list of all certificates

{
  "count": 123,
  "items": [
    {
      "id": "5bf77342-221c-11ee-be56-0242ac120002",
      "type": "string",
      "serial": "string",
      "owner_id": "5bf77342-221c-11ee-be56-0242ac120002",
      "revoked": "string",
      "revocation_reason": "string",
      "cert": "string",
      "chain": "string",
      "issuer": "string",
      "subject": "string",
      "not_before": "string",
      "not_after": "string",
      "key_usage": "string",
      "basic_constraints": "string",
      "extensions": "string",
      "fingerprint_sha1": "string",
      "fingerprint_sha256": "string",
      "subject_key_id": "string",
      "authority_key_id": "string",
      "status": "CERT_EXPIRED"
    }
  ]
}
get/authorizer/api/v1/cert/{id}

Get Certificate by ID

idstring

required

Certificate ID

Responses

Response examples

Successful request, respond with a certificate

{
  "items": {
    "id": "5bf77342-221c-11ee-be56-0242ac120002",
    "type": "string",
    "serial": "string",
    "owner_id": "5bf77342-221c-11ee-be56-0242ac120002",
    "revoked": "string",
    "revocation_reason": "string",
    "cert": "string",
    "chain": "string",
    "issuer": "string",
    "subject": "string",
    "not_before": "string",
    "not_after": "string",
    "key_usage": "string",
    "basic_constraints": "string",
    "extensions": "string",
    "fingerprint_sha1": "string",
    "fingerprint_sha256": "string",
    "subject_key_id": "string",
    "authority_key_id": "string",
    "status": "CERT_EXPIRED"
  }
}

Was this page helpful?