improve configuration help text in auth_token
Related-Bug: 1287301 Change-Id: I3499fdf87b49b7499c525465ccd947edfa5cec6d
This commit is contained in:
@@ -262,16 +262,21 @@ opts = [
|
|||||||
help='Directory used to cache files related to PKI tokens'),
|
help='Directory used to cache files related to PKI tokens'),
|
||||||
cfg.ListOpt('memcached_servers',
|
cfg.ListOpt('memcached_servers',
|
||||||
deprecated_name='memcache_servers',
|
deprecated_name='memcache_servers',
|
||||||
help='If defined, the memcache server(s) to use for caching'),
|
help='Optionally specify a list of memcached server(s) to'
|
||||||
|
' use for caching. If left undefined, tokens will instead be'
|
||||||
|
' cached in-process.'),
|
||||||
cfg.IntOpt('token_cache_time',
|
cfg.IntOpt('token_cache_time',
|
||||||
default=300,
|
default=300,
|
||||||
help='In order to prevent excessive requests and validations,'
|
help='In order to prevent excessive effort spent validating'
|
||||||
' the middleware uses an in-memory cache for the tokens the'
|
' tokens, the middleware caches previously-seen tokens for a'
|
||||||
' Keystone API returns. This is only valid if memcached_servers'
|
' configurable duration (in seconds). Set to -1 to disable'
|
||||||
' is defined. Set to -1 to disable caching completely.'),
|
' caching completely.'),
|
||||||
cfg.IntOpt('revocation_cache_time',
|
cfg.IntOpt('revocation_cache_time',
|
||||||
default=1,
|
default=1,
|
||||||
help='Value only used for unit testing'),
|
help='Determines the frequency at which the list of revoked'
|
||||||
|
' tokens is retrieved from the Identity service (in seconds). A'
|
||||||
|
' high number of revocation events combined with a low cache'
|
||||||
|
' duration may significantly reduce performance.'),
|
||||||
cfg.StrOpt('memcache_security_strategy',
|
cfg.StrOpt('memcache_security_strategy',
|
||||||
default=None,
|
default=None,
|
||||||
help='(optional) if defined, indicate whether token data'
|
help='(optional) if defined, indicate whether token data'
|
||||||
|
Reference in New Issue
Block a user