How to increase the lifetime of the token and the duration of the session in OpenStack after authorization?¶
The time the token remains valid is determined by the expiration
parameter in the [token]
section of the Keystone configuration file, and is 3600 seconds by default:
expiration = 3600
To increase the lifetime of the token and the duration of the session in OpenStack, you need to change the value of the parameter to the required one and restart the Keystone services:
systemctl restart keystone