Description of authorization token configuration options
Configuration option = Default value Description
[keystone_authtoken]
= None (StrOpt) Service user password.
= admin (StrOpt) Service tenant name.
= None (StrOpt) This option is deprecated and may be removed in a future release. Single shared secret with the Keystone configuration used for bootstrapping a Keystone installation, or otherwise bypassing the normal authentication process. This option should not be used, use `admin_user` and `admin_password` instead.
= None (StrOpt) Service username.
= (StrOpt) Prefix to prepend at the beginning of the path. Deprecated, use identity_uri.
= 127.0.0.1 (StrOpt) Host providing the admin Identity API endpoint. Deprecated, use identity_uri.
= 35357 (IntOpt) Port of the admin Identity API endpoint. Deprecated, use identity_uri.
= https (StrOpt) Protocol of the admin Identity API endpoint (http or https). Deprecated, use identity_uri.
= None (StrOpt) Complete public Identity API endpoint.
= None (StrOpt) API version of the admin Identity API endpoint.
= None (StrOpt) Env key for the swift cache.
= None (StrOpt) A PEM encoded Certificate Authority to use when verifying HTTPs connections. Defaults to system CAs.
= None (StrOpt) Required if identity server requires client certificate
= False (BoolOpt) If true, the revocation list will be checked for cached tokens. This requires that PKI tokens are configured on the identity server.
= False (BoolOpt) Do not handle authorization requests within the middleware, but delegate the authorization decision to downstream WSGI components.
= 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.
= md5 (ListOpt) Hash algorithms to use for hashing PKI tokens. This may be a single algorithm or multiple. The algorithms are those supported by Python standard hashlib.new(). The hashes will be tried in the order given, so put the preferred one first for performance. The result of the first hash will be stored in the cache. This will typically be set to multiple values only while migrating from a less secure algorithm to a more secure one. Once all the old tokens are expired this option should be set to a single value for better performance.
= None (IntOpt) Request timeout value for communicating with Identity API server.
= 3 (IntOpt) How many times are we trying to reconnect when communicating with Identity API Server.
= None (StrOpt) Complete admin Identity API endpoint. This should specify the unversioned root endpoint e.g. https://localhost:35357/
= 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.
= False (BoolOpt) Verify HTTPS connections.
= None (StrOpt) Required if identity server requires client certificate
= None (StrOpt) (Optional, mandatory if memcache_security_strategy is defined) This string is used for key derivation.
= 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.
= 10 (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.
= None (StrOpt) Directory used to cache files related to PKI tokens.
= 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.