GET PKS/Lookup/jwks

Returns one or more code signing public keys and certificates in JWK format.

Requirements

None

Parameters

Query parameters

Name

Description

LabelFilter

(Optional) An environment filter. Only one filter at a time can be passed.

Example: jwks?labelFilter=Dev

x509Thumbprints

(Optional) The SHA1 or SHA256 thumbprints of the objects to retrieve. Separate multiple thumbprints with a comma.

Example: jwks?x509Thumbprints=44AFD1BD1A7509D7937863A1ED4E5887B60177BA,FFB8E295012A868674B6A4AE4B89C7695FD1852A

x509serialnumbers

(Optional) The serial numbers of the objects to retrieve, Separate multiple serial numbers with a comma.

Example: jwks?x509serialnumbers=825DDB47E11AF74FB22BA9A23F5589A2,0759AA8F6313104183DF24B3FE035CFE

Request examples

LabelFilter example

GET https://{tpp-server}/pks/lookup/jwks?LabelFilter=Dev

x509Thumbprints example with multiple thumbprints

GET https://{tpp-server}/pks/lookup/jwks?x509Thumbprints=44AFD1BD1A7509D7937863A1ED4E5887B60177BA,FFB8E295012A868674B6A4AE4B89C7695FD1852A

x509serialnumbers example with multiple serial numbers

GET https://{tpp-server}/pks/lookup/jwks?x509serialnumbers=825DDB47E11AF74FB22BA9A23F5589A2,0759AA8F6313104183DF24B3FE035CFE

Response example

The public keys and certificates are returned in JWK format. For a description of response values, see RFC 7517.

{
  "keys":[
    {
      "e":"AQAB",
      "key_ops":[
        "verify"
      ],
      "kid":"{94e3ea99-9e5a-4bd2-82b2-038f844ecff0}",
      "kty":"RSA",
      "n":"pceplyY8wc0mN_6H2L...",
      "use":"sig",
      "x5c":[
        "MIIDHDCCAgSgAwIBAgIR..."
      ],
      "x5t":"FFB8E295012A868674B6A4AE4B89C7695FD1852A",
      "x5t#S256":"E833281ECFCAB9998722BA37805DF48E17D7487A7521DA5BFB224F0F40045EA4",
      "x5u":"\"https://{tpp-server}/pks/lookup/pem/2532\""
    },
    {
      "e":"AQAB",
      "key_ops":[
        "verify"
      ],
      "kid":"{0152fcce-401e-459f-a1f5-a219d250a2ac}",
      "kty":"RSA",
      "n":"rIREQIvOdxZSAlAxOFC...",
      "use":"sig",
      "x5c":[
        "MIID9TCCAt2gAwIBAgIQB..."
      ],
      "x5t":"44AFD1BD1A7509D7937863A1ED4E5887B60177BA",
      "x5t#S256":"04A853670408FB8E121BCB62DB743C73EB53139D332A732F77DE3C6AD31FAF95",
      "x5u":"\"https://{tpp-server}/pks/lookup/pem/2451\""
    }
  ]
}