How to set expiration time for X-Auth-Token (auth token)
Hi! I'm using openstack swift auth v1 Can't find any infromation about how to set expiration time for auth token. Please, help!
I know about two authentication mechanisms, temp auth (not recommended for production) and Keystone. The former doesn't seem to be documented very well.
What is Swift Auth?
Thanks, Bernd, i meant Tempauth (auth v1). Do you know how i can change token_life within the code? (python) Because, as you said, it's not well documented and all i found is just an info about default expiration time.
In the code? I think it's easier to just change the configuration value. Besides, when you update, code will be replaced.
In any case, grep -r token_life SWIFT_CODE_ROOT_DIRECTORY tells you where the string appears in the code, and you just modify it there.
There is old documentation for proxy-server.conf: https://docs.openstack.org/newton/con.... Still valid I think.
You can also use codesearch: http://codesearch.openstack.org/?q=to....