[{"label":"Latest (v1.0)","version":"latest"}]
csp

Get Public Key

Description

Returns a list of public keys in jwks format. You should use this keys in your application to validate that the access-token is valid. The KID fields in the access-token is the ID of the public key. The PEM format is deprecated as it returns only the current active public key

Access Policy

Role User Accounts Service Accounts (Client Credentials Applications)
Anonymous ✔️ ✔️

Request

Request

URL

URL


get
https://{api_host}/csp/gateway/am/api/auth/token-public-key
Copy

Query Parameters

Query Parameters

string
format Optional

The format for the key. Use the ‘jwks’ value for format. The PEM format is deprecated.

Parameter Serialization Style: form Explode:true

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PublicKeyDto of type application/json
{
	"alg": "string",
	"issuer": "string",
	"keys": {},
	"value": "string"
}
string
alg Optional

The algorithm of the key.


string
issuer Optional

The issuer of the key.


array of object
keys Optional

The list of the keys.


string
value Optional

The value of the key.

Errors

Errors

CspErrorResponse
400

Invalid format of public key.


CspErrorResponse
404

The requested resource could not be found


CspErrorResponse
429

The user has sent too many requests


CspErrorResponse
500

An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl https://{api_host}/csp/gateway/am/api/auth/token-public-key
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-required-roles: ""
x-slo-tier: TIER2


Feedback

Was this page helpful?