This feature is in closed beta, so only selected clients can access it now. If you are interested in implementing it in the future, please contact our Support team.
The API Keys page allows you to configure the duration of the API tokens generated when you create a key. Setting the duration of API keys is important to guarantee security, limit exposure to risks, control access to resources, and minimize the impact of compromised keys.
By default, the duration applied to API keys is three months unless another option is selected.
When the set deadline is reached, the API key will appear as Outdated in the Generated tab.
During the beta phase, the duration only changes the status in the VTEX Admin interface without preventing the use of the key. We recommend manually renewing the token of outdated keys.
To configure the duration of API tokens, follow the steps below:
-
In the top bar of the VTEX Admin, click your profile avatar — indicated by the first letter of your email — and then click Account Settings > API Keys.
-
Click
Settings
. -
Select the option for the desired duration:
- 3 months (recommended)
- 6 months
-
Click
Apply
.
This period will apply to all new and existing keys, using the created date as the reference for calculating the duration.