Clarity API key Expiration of 90 days

book

Article ID: 199863

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

We are using API REST to get projects from another app and we have to use the API Key authentication to generate a key. The key has an expiration limit of 90 days.

It is possible to set this to unlimited to avoid changing our configuration every 3 months?

Environment

CLARITY APPLICATION

Resolution

For the Clarity System Options API Key setting "Maximum expiration in days for API keys" the user can adjust the default value of 90 days to set your own maximum number of days.
- The value that you set determines the maximum possible duration or lifespan for each active key from its creation date, however, for the API key, the application enforces a limit and the user must enter a valid value.
- For example, leaving the value empty would not set it to unlimited. It would set it to 1 year (365 days). Higher values like 900 days are accepted.
- Keys expire automatically when the expiration date arrives, and whenever the API key does expire, a new one will need to be generated. 

Admins: Monitor Keys and Clients