Improve keystone.conf [revoke] documentation
Change-Id: Ib1c52591e9a55125f3e54b57da2a2a07ef7c5c47
This commit is contained in:
parent
85321b36d3
commit
70532b2aa8
|
@ -19,16 +19,18 @@ driver = cfg.StrOpt(
|
||||||
'driver',
|
'driver',
|
||||||
default='sql',
|
default='sql',
|
||||||
help=utils.fmt("""
|
help=utils.fmt("""
|
||||||
Entrypoint for an implementation of the backend for persisting revocation
|
Entry point for the token revocation backend driver in the `keystone.revoke`
|
||||||
events in the keystone.revoke namespace. Supplied drivers are kvs and sql.
|
namespace. Keystone only provides a `sql` driver, so there is no reason to set
|
||||||
|
this option unless you are providing a custom entry point.
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
expiration_buffer = cfg.IntOpt(
|
expiration_buffer = cfg.IntOpt(
|
||||||
'expiration_buffer',
|
'expiration_buffer',
|
||||||
default=1800,
|
default=1800,
|
||||||
|
min=0,
|
||||||
help=utils.fmt("""
|
help=utils.fmt("""
|
||||||
This value (calculated in seconds) is added to token expiration before a
|
The number of seconds after a token has expired before a corresponding
|
||||||
revocation event may be removed from the backend.
|
revocation event may be purged from the backend.
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
caching = cfg.BoolOpt(
|
caching = cfg.BoolOpt(
|
||||||
|
@ -46,7 +48,7 @@ cache_time = cfg.IntOpt(
|
||||||
cfg.DeprecatedOpt('revocation_cache_time', group='token')],
|
cfg.DeprecatedOpt('revocation_cache_time', group='token')],
|
||||||
help=utils.fmt("""
|
help=utils.fmt("""
|
||||||
Time to cache the revocation list and the revocation events (in seconds). This
|
Time to cache the revocation list and the revocation events (in seconds). This
|
||||||
has no effect unless global and token caching are enabled.
|
has no effect unless global and `[revoke] caching` are both enabled.
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue