[{"label":"Latest (v1.0)","version":"latest"}]
csp
Get Public Key
DescriptionReturns 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
URLURL
https://{api_host}/csp/gateway/am/api/auth/token-public-key
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
Code Samples
Code Samples
cURL Command
curl https://{api_host}/csp/gateway/am/api/auth/token-public-key
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-required-roles: ""
x-slo-tier: TIER2
[{"label":"Latest (v1.0)","version":"latest"}]
csp