latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
PublicKeys

List all public keys associated to an organization.

get/orgs/{orgId}/keys

Path parameters

orgIdstring required

The organization ID.

Query parameters

fingerprintstring

The fingerprint (the hexadecimal representation of the sha256 hash of the DER representation of the key) of the requested key. If a value is provided, the result will contain a single key, if any.

Response

A possible empty list of public keys associated to an organization, sorted descending by creation date.

idstring required
keystring required
created_atstring date-time required
created_bystring required
expired_atstring date-time required
fingerprintstring required

It's the hexadecimal representation of the sha256 hash of the DER representation of the key, it's computed and stored when a new key is uploaded.

Example response

[
  {
    "created_at": "2020-06-22T09:37:23.523Z",
    "expired_at": "2020-06-22T09:37:23.523Z"
  }
]