Update the units for seconds to hours conversion

3600 seconds is 1 hour and not 24 hours, and 900 seconds is 15 mins

Change-Id: I74cc8a01468444307619a05f4830ce6cf87240ab
This commit is contained in:
Arif Ali 2021-02-18 09:34:08 +00:00
parent 77114da5f8
commit dc3490c909
No known key found for this signature in database
GPG Key ID: 369608FBA1353A70
1 changed files with 4 additions and 4 deletions

View File

@ -139,8 +139,8 @@ In the keystone charm, token expiration and the maximum number of active keys
are specified, respectively, with the ``token-expiration`` and the
``fernet-max-active-keys`` configuration options.
For example, given that an administrator desires a token expiration of 24 hours
(3600 seconds) and a rotation frequency of 6 hours (900 seconds), the maximum
For example, given that an administrator desires a token expiration of 1 hour
(3600 seconds) and a rotation frequency of 15 minutes (900 seconds), the maximum
number of active keys must be six:
.. math::
@ -183,9 +183,9 @@ Default values
These are the default values for these keystone charm options and the resulting
default rotation frequency:
* ``token-expiration``: 3600 sec (24 hours)
* ``token-expiration``: 3600 sec (1 hour)
* ``fernet-max-active-keys``: 3
* rotation frequency: 3600 sec (24 hours)
* rotation frequency: 3600 sec (1 hour)
Token validation breakage
~~~~~~~~~~~~~~~~~~~~~~~~~