メインコンテンツへスキップ
GET
/
connections
/
{id}
/
keys
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.connections.keys.get("id");
}
main();
[
  {
    "kid": "<string>",
    "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",
    "pkcs": "-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----",
    "current": true,
    "next": true,
    "previous": true,
    "current_since": "<string>",
    "algorithm": "<string>",
    "key_use": "encryption",
    "subject_dn": "<string>"
  }
]

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ID of the connection

レスポンス

Connection keys successfully retrieved.

kid
string
必須

The key id of the signing key

Maximum string length: 255
cert
string
デフォルト:-----BEGIN CERTIFICATE----- MIIDDTCCA...YiA0TQhAt8= -----END CERTIFICATE-----
必須

The public certificate of the signing key

Maximum string length: 4096
fingerprint
string
デフォルト:CC:FB:DD:D8:9A:B5:DE:1B:F0:CC:36:D2:99:59:21:12:03:DD:A8:25
必須

The cert fingerprint

thumbprint
string
デフォルト:CCFBDDD89AB5DE1BF0CC36D29959211203DDA825
必須

The cert thumbprint

Maximum string length: 255
pkcs
string
デフォルト:-----BEGIN PKCS7----- MIIDPA....t8xAA== -----END PKCS7-----

The public certificate of the signing key in pkcs7 format

Maximum string length: 4096
current
boolean
デフォルト: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
string

The date and time when the key became the current key

algorithm
string

Signing key algorithm

key_use
enum<string>

Signing key use, whether for encryption or signing

利用可能なオプション:
encryption,
signing
subject_dn
string
Maximum string length: 132