- Task
- Version ยท 6.0.2
- Manage
Set the maximum personal access token lifetime
Last updated: November 17, 2026
Limit how long the personal access tokens people create in your workspace can last, so a lost or forgotten token stops working sooner.
Before you begin
You must have the Manage workspace settings permission, which members of the Administrators group have. Anyone else who opens the page sees a message that they do not have access.
Personal access tokens must be turned on for the workspace. The lifetime cannot be changed while they are off. Turn personal access tokens on or off explains the setting.
Procedure
Open the Workspace settings page
In Liquibase Secure server, go to Administer > Workspace Settings, and find the Maximum token lifetime row on the CREDENTIALS card.
When people create a personal access token, they choose a lifetime of 30, 60 or 90 days, up to the maximum set here. The maximum is 90 days by default. That is also the platform ceiling, so you can shorten the maximum but never raise it above 90 days.
While personal access tokens are turned off for the workspace, the Maximum token lifetime setting is unavailable. Turn them back on to change it.
Choose the maximum lifetime
Select 30 days, 60 days, or 90 days. The setting saves as soon as you select it, a message confirms it, and the change is recorded in the system log.
When the maximum is below 90 days, people creating a token see An administrator has set a maximum lifetime of N days, where N is the maximum you chose.
Lowering the maximum does not change tokens that already exist. They keep the expiry date they were created with. To stop a long-lived token sooner, revoke it.
Service tokens do not expire, so this setting does not apply to them.