custom time life token for API

asked 2017-06-15 05:19:03 -0500

ksugiu gravatar image

Hi all :)

I would like to know how to create a token with a custom time life (expires_at) in keystone. I'm using APIs and i want to use a token that never expires ( or in a long long time...). I know that i can change the default life time of tokens in keystone.conf, but I want to create just 1 token with that life time ...

Thx to help me :)

edit retag flag offensive close merge delete


I believe you would have to change this in the database. Afaik there is no API for changing the expiration time.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-15 18:11:34 -0500 )edit