capabilities.work

Rotate a Developer App Key

A 4-step recipe with Apigee. We can help you get access.

Recipe · 4 steps

Rotate a Developer App Key

with Apigee · Developer Identity & Credential Management

Create a replacement app key bound to a product, then revoke the prior key.

  1. Read the developer app to confirm it exists and capture its product associations before rotating credentials.
  2. Create the replacement consumer key and secret for the app.
  3. Associate the API product with the newly created key so it can access the product's resources immediately.
  4. Delete the previous consumer key now that the replacement is active and bound to the product.
What you'll need to have ready
  • organizationId: The Apigee organization owning the app.
  • developerId: Email or developer id that owns the app.
  • appId: Name of the developer app whose key is being rotated.
  • newConsumerKey: The replacement consumer key value to provision.
  • newConsumerSecret: The replacement consumer secret value to provision.
  • apiProduct: API product to associate with the new key.
  • oldKeyId: The existing consumer key id to revoke after rotation.
For your developer

Arazzo workflow apigee:rotate-app-key, 4 operations: getDeveloperApp → createDeveloperAppKey → updateDeveloperAppKey → deleteDeveloperAppKey. Specs on APIs.io.