post /authorizer/api/v1/cert/search

Search certificates

id

string

uuid

type

string

key_id

string

owner_id

string

uuid

subject

string

issuer

string

not_before

string

not_after

string

include_revoked

boolean

include_expired

boolean

Request

{
  "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

ExamplesSchema

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

Authorization

string

required

OAuth2 token

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

Response

ExamplesSchema

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

id

string

required

Certificate ID

Response

ExamplesSchema

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?