Appearance
/partner/public-keys/keyId
Retrieves a specific public key from the current partner for request encryption. Partner keys are managed in the Nexus application.
HTTP Request
GET https://api.q2open.io/v1/partner/public-keys/{keyId}
Arguments
Parameter | Description |
---|---|
keyId | ID of the key to retrieve. |
Returns
A response with the latest public key content in JWK format.
Example Request
shell
curl "https://api.q2open.io/v1/partner/public-keys/{keyId}" \
-H "Authorization: Bearer dc220490-e6ee-11e5-8a94-e7385a8d929e" \
-G
Example Response
json
{
"kty": "RSA",
"n": "yn8Ek5WFlw0YIsXpjqC7_MCN4OfUAUVp3tje...",
"e": "AQAB",
"use": "enc",
"kid": "5b4cdadf8ea75a6602ff82bb",
"x5c": "MIIFczCCBFugAwIBAgISBB/csS+OpHRTGG..."
}