Passer au contenu principal
GET
/
keys
/
signing
/
{kid}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.keys.signing.get("kid");
}
main();
{
  "kid": "21hi274Rp02112mgkUGma",
  "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----",
  "fingerprint": "CC:FB:DD:D8:9A:B5:DE:1B:F0:CC:36:D2:99:59:21:12:03:DD:A8:25",
  "thumbprint": "CCFBDDD89AB5DE1BF0CC36D29959211203DDA825",
  "pkcs7": "-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----",
  "current": true,
  "next": true,
  "previous": true,
  "current_since": "<string>",
  "current_until": "<string>",
  "revoked": true,
  "revoked_at": "<string>"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

kid
string
requis

Key id of the key to retrieve

Réponse

The signing keys were retrieved.

kid
string
défaut:21hi274Rp02112mgkUGma
requis

The key id of the signing key

cert
string
défaut:-----BEGIN CERTIFICATE----- MIIDDTCCA...YiA0TQhAt8= -----END CERTIFICATE-----
requis

The public certificate of the signing key

fingerprint
string
défaut:CC:FB:DD:D8:9A:B5:DE:1B:F0:CC:36:D2:99:59:21:12:03:DD:A8:25
requis

The cert fingerprint

thumbprint
string
défaut:CCFBDDD89AB5DE1BF0CC36D29959211203DDA825
requis

The cert thumbprint

pkcs7
string
défaut:-----BEGIN PKCS7----- MIIDPA....t8xAA== -----END PKCS7-----

The public certificate of the signing key in pkcs7 format

current
boolean
défaut:true

True if the key is the the current key

next
boolean

True if the key is the the next key

previous
boolean

True if the key is the the previous key

current_since

The date and time when the key became the current key

current_until

The date and time when the key became the current key

revoked
boolean

True if the key is revoked

revoked_at

The date and time when the key became the current key