apigee-edge-drupal
apigee-edge-drupal copied to clipboard
Set the expiration date of credentials based on some value, such as an API Product Custom Attribute
Is your feature request related to a problem? Please describe.
The need exists to set different expiration dates on credentials based on the consumer type and what product they subscribe to
Describe the solution you would like
Custom Attributes comes to mind. For example, an attribute such as "key_expiry_days" could be set to define how long keys last for a given product
Describe alternatives you have considered
cron job, very inelegant and leaves holes/race conditions
Thanks Kevin for raising the issue.
As context on our use case, we have various API Products that expose data with different classifications (PII, confidential, public etc), and hence the default expiration dates could vary depending on this classification.
Right now the Apigee Drupal UI has that setting for the key lifetime but it's a "1 size fits all" setting.
Any update or insight on this feature request ? Thank you!
We will be adding a new hook to allow developers the ability to set their own custom expiration period.
This should provide anyone the ability to set their own logic based on API Products or any other criteria.