API ReferenceManagement

Access Key Management

Overview

Access keys are similar to API keys — they let administrators authenticate into an application using the Descope authentication service. Access keys can be exchanged for a session JWT. The Access Key Management APIs provide endpoints for managing these keys.

Use Cases

  1. Load an Access Key
  2. Search Access Keys
  3. Create Access Key
  4. Update Access Key
  5. Activate Access Key
  6. Deactivate Access Key
  7. Activate Access Keys in Batch
  8. Deactivate Access Keys in Batch
  9. Delete Access Keys in Batch
  10. Delete Access Key

Examples

Example - create an access key and exchange it for a JWT

  1. Call the Create Access Key endpoint and capture the generated key from the cleartext field in the response.
  2. Pass the key to the Exchange Access Key endpoint to exchange it for a JWT.

Example - search and deactivate an access key

  1. Call the Search Access Keys endpoint to find the key you want to deactivate.
  2. Call the Deactivate Access Key endpoint using the access key ID from step 1.
Was this helpful?

On this page