Okta Access Gateway
/Applications
/- Upload a public key
Applications
List all applications
Create an application
Retrieve an application
Replace an application
Delete an application
Activate an application
List all public keys (JWKS)
Revoke a public key
Retrieve the client secret
Generate a client secret
Deactivate an application
Update an application status to maintenance
Upload a public key
Early Access
Uploads a public key in JWK format to the application's JWKS.
After you upload the new key, both the existing and new keys are active. This allows you to rotate keys without downtime by migrating clients to the new key before revoking the old one with the Revoke a Public Key endpoint.
Note: This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
The algorithm that's used to sign tokens. RS256 uses RSA with SHA-256.
Value:"RS256"
A unique identifier for this key. It's used to select the correct key when multiple keys are present, such as during key rotation.
The cryptographic algorithm family for this key. RSA indicates an RSA key pair.
Value:"RSA"
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/apps/{applicationId}/credentials/keys
curl -i -X POST \
'https://oag.domain.tld/api/v2/apps/{applicationId}/credentials/keys' \
-H 'Content-Type: application/json' \
-d '{
"alg": "RS256",
"e": "string",
"kid": "string",
"kty": "RSA",
"n": "string",
"use": "sig"
}'