Authorization Server Keys

Provides operations to manage credential keys for the given authServerId.

List all Credential Keys
API Access Management
OAuth 2.0: okta.authorizationServers.read

Lists all credential keys

Request
path Parameters
authServerId
required
string

id of the Authorization Server

Example: GeGRTEr7f3yu2n7grw22
Responses
200

Success

403

Forbidden

404

Not Found

429

Too Many Requests

get/api/v1/authorizationServers/{authServerId}/credentials/keys
Request samples
Response samples
application/json
[
  • {
    • "alg": "string",
    • "e": "string",
    • "kid": "string",
    • "kty": "string",
    • "n": "string",
    • "status": "string",
    • "use": "string",
    • "_links": {
      }
    }
]

Rotate all Credential Keys
API Access Management
OAuth 2.0: okta.authorizationServers.manage

Rotates all credential keys

Request
path Parameters
authServerId
required
string

id of the Authorization Server

Example: GeGRTEr7f3yu2n7grw22
Request Body schema: application/json
required
use
string (JwkUseType)
Value: "sig"
Responses
200

Success

400

Bad Request

403

Forbidden

404

Not Found

429

Too Many Requests

post/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate
Request samples
application/json
{
  • "use": "sig"
}
Response samples
application/json
[
  • {
    • "alg": "string",
    • "e": "string",
    • "kid": "string",
    • "kty": "string",
    • "n": "string",
    • "status": "string",
    • "use": "string",
    • "_links": {
      }
    }
]