Skip to content

List all Custom Authorization Server Public JSON Web Keys

Request

OAuth 2.0 scope:
  • okta.authorizationServers.read

Lists all the public keys used by the custom authorization server

Path
authServerIdstringrequired

id of the Authorization Server

Example:GeGRTEr7f3yu2n7grw22
curl -i -X GET \
  https://subdomain.okta.com/api/v1/authorizationServers/GeGRTEr7f3yu2n7grw22/resourceservercredentials/keys

Responses

Success

Bodyapplication/json
Array [
createdstringread-only

Timestamp when the JSON Web Key was created

Example:"2023-02-21T20:08:24.000Z"
estring

RSA key value (exponent) for key binding

Example:"AQAB"
idstringread-only

The unique ID of the JSON Web Key

Example:"apk2f4zrZbs8nUa7p0g4"
kidstring or null

Unique identifier of the JSON Web Key in the Custom Authorization Server's Public JWKS

Example:"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4"
ktystring

Cryptographic algorithm family for the certificate's key pair

Example:"RSA"
lastUpdatedstringread-only

Timestamp when the JSON Web Key was updated

Example:"2023-02-21T20:08:24.000Z"
nstring

RSA key value (modulus) for key binding

Example:"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQ
statusstring

The status of the encryption key. You can use only an ACTIVE key to encrypt tokens issued by the authorization server.

Default:"ACTIVE"
Enum:"ACTIVE""INACTIVE"
Example:"ACTIVE"
usestring

Acceptable use of the JSON Web Key

Example:"enc"
]
Response
[ { "status": "ACTIVE", "id": "apk40n33xfjbPaf6D0g5", "e": "AQAB", "n": "g0MirhrysJMPm_wK45jvMbbyanfhl-jmTBv0o69GeifPaISaXGv8LKn3-CyJvUJcjjeHE17KtumJWVxUDRzFqtIMZ1ctCZyIAuWO0n LKilg7_EIDXJrS8k14biqkPO1lXGFwtjo3zLHeFSLw6sWf-CEN9zv6Ff3IAXb-RMYpfh-bVrxIgWsWCxjLW-UKI3la-gs0nWHH2PJr5HLJuI JIOL5HLJuIJIOLWahqTnm_r1LSCSYr6N4C-fh--w2_BW8DzTHalBYe76bNr0d7AqtR4tGazmrvrc79Wa2bjyxmhhN1u9jSaZQqq-3VZEod8q3, WHH2PJ5v1LoXniJQ4a2W8nDVqb6h4E8MUKYOpljTfQ", "kid": "RQ8DuhdxCczyMvy7GNJb4Ka3lQ99vrSo3oFBUiZjzzc", "kty": "RSA", "use": "enc", "created": "2023-04-06T21:32:33.000Z", "lastUpdated": "2023-04-06T21:32:33.000Z", "_links": { … } }, { "status": "INACTIVE", "id": "apk33a45xfjbDfg6D0g5", "e": "AQAB", "n": "l1hZ_g2sgBE3oHvu34T-5XP18FYJWgtul_nRNg-5xra5ySkaXEOJUDRERUG0HrR42uqf9jYrUTwg9fp-SqqNIdHRaN8EwRSDRsKAwK 3 HIJ2NJfgmrrO2ABkeyUq6rzHxAumiKv1iLFpSawSIiTEBJERtUCDcjbbqyHVFuivIFgH8L37 - XDIDb0XG - R8DOoOHLJPTpsgH - rJe M5w96VIRZInsGC5OGWkFdtgk6OkbvVd7_TXcxLCpWeg1vlbmX - 0 TmG5yjSj7ek05txcpxIqYu - 7 FIGT0KKvXge_BOSEUlJpBhLKU28 OtsOnmc3NLIGXB - GeDiUZiBYQdPR - myB4ZoQ", "kid": "Y3vBOdYT-l-I0j-gRQ26XjutSX00TeWiSguuDhW3ngo", "kty": "RSA", "use": "enc", "created": "2023-04-06T21:32:33.000Z", "lastUpdated": "2023-04-06T21:32:33.000Z", "_links": { … } } ]