keystone/releasenotes/notes/fetch-expired-token-f5d845b9601bc1ef.yaml
Jamie Lennox fcebc2fa8d Allow fetching an expired token
A service user from auth_token middleware should be able to fetch a
token that has expired within a certain window so that long running
operations can finish.

Implements bp: allow-expired
Change-Id: I784f719be88481048f5aa7a79d34a54907438cf3
2016-11-28 04:07:26 +00:00

19 lines
1.0 KiB
YAML

---
features:
- >
[`blueprint allow-expired <https://blueprints.launchpad.net/keystone/+spec/allow-expired>`_]
An `allow_expired` flag is added to the token validation call
(``GET/HEAD /v3/auth/tokens``) that allows fetching a token that has
expired. This allows for validating tokens in long running operations.
upgrade:
- >
[`blueprint allow-expired <https://blueprints.launchpad.net/keystone/+spec/allow-expired>`_]
To allow long running operations to complete services must be able to fetch
expired tokens via the ``allow_expired`` flag. The length of time a token is
retrievable for beyond its traditional expiry is managed by the
``[token] allow_expired_window`` option and so the data must be retrievable
for this about of time. When using fernet tokens this means that the key
rotation period must exceed this time so that older tokens are still
decrytable. Ensure that you do not rotate fernet keys faster than
``[token] expiration`` + ``[token] allow_expired_window`` seconds.