Changing default API Key expiration

I am creating a test developer portal using Apigee integrated portals in our pre-production account. I noticed that when users log on and create an app in the portal the expiration for the API key they receive is defaulted to never. I was wondering if there was any way to change this default. We don't really want to leave any keys open forever and I didn't find a clear way to change this setting in Apigee Edge.

Thanks in advanced.

0 3 985
3 REPLIES 3

Hi @Mich,

There is a way around to fix your problem is by creating another set of credentials for the app where you can set expiration from Never to fix time expiry. Here are the steps for you to go -

To generate a new API key:

  1. Access the Apps page.
  2. Click in the row of the app that you want to view and edit.
  3. Click Edit.
  4. In the Credentials section, click .
  5. Specify the expiration, add the API products, and set their status.
  6. Optionally, revoke any of the other API keys, as required.
  7. Click Save.

This will generate a new set of credentials so you can revoke the older one.

Hello, thanks for your response @Ravindra Singh. I was thinking that technically can't the user create a new API key for their app in the portal that also has an expiration of never?

it depends on dev portal functionality if this is not available in the default dev portal, it can be extended if you are using drupal based devportal.