Icehouse - Icehouse - Icehouse - Icehouse - Icehouse - Icehouse - Icehouse - Icehouse -
Use the following options to alter token authentication settings.
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
memcached_servers = None | (ListOpt) Memcached servers or None for in process cache. |
[keystone_authtoken] | |
admin_password = None | (StrOpt) Keystone account password |
admin_tenant_name = admin | (StrOpt) Keystone service account tenant name to validate user tokens |
admin_token = None | (StrOpt) Single shared secret with the Keystone configuration used for bootstrapping a Keystone installation, or otherwise bypassing the normal authentication process. |
admin_user = None | (StrOpt) Keystone account username |
auth_admin_prefix = | (StrOpt) Prefix to prepend at the beginning of the path |
auth_host = 127.0.0.1 | (StrOpt) Host providing the admin Identity API endpoint |
auth_port = 35357 | (IntOpt) Port of the admin Identity API endpoint |
auth_protocol = https | (StrOpt) Protocol of the admin Identity API endpoint(http or https) |
auth_uri = None | (StrOpt) Complete public Identity API endpoint |
auth_version = None | (StrOpt) API version of the admin Identity API endpoint |
cache = None | (StrOpt) Env key for the swift cache |
cafile = None | (StrOpt) A PEM encoded Certificate Authority to use when verifying HTTPs connections. Defaults to system CAs. |
certfile = None | (StrOpt) Required if Keystone server requires client certificate |
delay_auth_decision = False | (BoolOpt) Do not handle authorization requests within the middleware, but delegate the authorization decision to downstream WSGI components |
enforce_token_bind = permissive | (StrOpt) Used to control the use and type of token binding. Can be set to: "disabled" to not check token binding. "permissive" (default) to validate binding information if the bind type is of a form known to the server and ignore it if not. "strict" like "permissive" but if the bind type is unknown the token will be rejected. "required" any form of token binding is needed to be allowed. Finally the name of a binding method that must be present in tokens. |
http_connect_timeout = None | (BoolOpt) Request timeout value for communicating with Identity API server. |
http_request_max_retries = 3 | (IntOpt) How many times are we trying to reconnect when communicating with Identity API Server. |
include_service_catalog = True | (BoolOpt) (optional) indicate whether to set the X-Service-Catalog header. If False, middleware will not ask for service catalog on token validation and will not set the X-Service-Catalog header. |
insecure = False | (BoolOpt) Verify HTTPS connections. |
keyfile = None | (StrOpt) Required if Keystone server requires client certificate |
memcache_secret_key = None | (StrOpt) (optional, mandatory if memcache_security_strategy is defined) this string is used for key derivation. |
memcache_security_strategy = None | (StrOpt) (optional) if defined, indicate whether token data should be authenticated or authenticated and encrypted. Acceptable values are MAC or ENCRYPT. If MAC, token data is authenticated (with HMAC) in the cache. If ENCRYPT, token data is encrypted and authenticated in the cache. If the value is not one of these options or empty, auth_token will raise an exception on initialization. |
memcached_servers = None | (ListOpt) Optionally specify a list of memcached server(s) to use for caching. If left undefined, tokens will instead be cached in-process. |
revocation_cache_time = 300 | (IntOpt) 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. |
signing_dir = None | (StrOpt) Directory used to cache files related to PKI tokens |
token_cache_time = 300 | (IntOpt) In order to prevent excessive effort spent validating tokens, the middleware caches previously-seen tokens for a configurable duration (in seconds). Set to -1 to disable caching completely. |