blob: 9d3eeeeb010365161d11d05d3887edd98431882b [file] [log] [blame]
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001{% from "keystone/map.jinja" import server with context %}
2[DEFAULT]
3
4#
5# From keystone
6#
7
8# A "shared secret" that can be used to bootstrap Keystone. This "token" does
9# not represent a user, and carries no explicit authorization. To disable in
10# production (highly recommended), remove AdminTokenAuthMiddleware from your
11# paste application pipelines (for example, in keystone-paste.ini). (string
12# value)
13#admin_token = ADMIN
14admin_token={{ server.service_token }}
15
16# The base public endpoint URL for Keystone that is advertised to clients
17# (NOTE: this does NOT affect how Keystone listens for connections). Defaults
18# to the base host URL of the request. E.g. a request to
19# http://server:5000/v3/users will default to http://server:5000. You should
20# only need to set this value if the base URL contains a path (e.g. /prefix/v3)
21# or the endpoint should be found on a different server. (string value)
22#public_endpoint = <None>
23
24# The base admin endpoint URL for Keystone that is advertised to clients (NOTE:
25# this does NOT affect how Keystone listens for connections). Defaults to the
26# base host URL of the request. E.g. a request to http://server:35357/v3/users
27# will default to http://server:35357. You should only need to set this value
28# if the base URL contains a path (e.g. /prefix/v3) or the endpoint should be
29# found on a different server. (string value)
30#admin_endpoint = <None>
31
32# Maximum depth of the project hierarchy. WARNING: setting it to a large value
33# may adversely impact performance. (integer value)
34#max_project_tree_depth = 5
35
36# Limit the sizes of user & project ID/names. (integer value)
37#max_param_size = 64
38
39# Similar to max_param_size, but provides an exception for token values.
40# (integer value)
41#max_token_size = 8192
42
43# Similar to the member_role_name option, this represents the default role ID
44# used to associate users with their default projects in the v2 API. This will
45# be used as the explicit role where one is not specified by the v2 API.
46# (string value)
47#member_role_id = 9fe2ff9ee4384b1894a90878d3e92bab
48
49# This is the role name used in combination with the member_role_id option; see
50# that option for more detail. (string value)
51#member_role_name = _member_
52
53# The value passed as the keyword "rounds" to passlib's encrypt method.
54# (integer value)
55# Minimum value: 1000
56# Maximum value: 100000
57#crypt_strength = 10000
58
59# The maximum number of entities that will be returned in a collection, with no
60# limit set by default. This global limit may be then overridden for a specific
61# driver, by specifying a list_limit in the appropriate section (e.g.
62# [assignment]). (integer value)
63#list_limit = <None>
64
65# Set this to false if you want to enable the ability for user, group and
66# project entities to be moved between domains by updating their domain_id.
67# Allowing such movement is not recommended if the scope of a domain admin is
68# being restricted by use of an appropriate policy file (see
69# policy.v3cloudsample as an example). (boolean value)
70#domain_id_immutable = true
71
72# If set to true, strict password length checking is performed for password
73# manipulation. If a password exceeds the maximum length, the operation will
74# fail with an HTTP 403 Forbidden error. If set to false, passwords are
75# automatically truncated to the maximum length. (boolean value)
76#strict_password_check = false
77
78# The HTTP header used to determine the scheme for the original request, even
79# if it was removed by an SSL terminating proxy. Typical value is
80# "HTTP_X_FORWARDED_PROTO". (string value)
81#secure_proxy_ssl_header = <None>
82
83#
84# From keystone.notifications
85#
86
87# Default publisher_id for outgoing notifications (string value)
88#default_publisher_id = <None>
89
90# Define the notification format for Identity Service events. A "basic"
91# notification has information about the resource being operated on. A "cadf"
92# notification has the same information, as well as information about the
93# initiator of the event. (string value)
94# Allowed values: basic, cadf
95#notification_format = basic
96
97#
98# From oslo.log
99#
100
101# Print debugging output (set logging level to DEBUG instead of default INFO
102# level). (boolean value)
103#debug = false
104debug = false
105
106# If set to false, will disable INFO logging level, making WARNING the default.
107# (boolean value)
108# This option is deprecated for removal.
109# Its value may be silently ignored in the future.
110#verbose = true
111verbose = true
112
113# The name of a logging configuration file. This file is appended to any
114# existing logging configuration files. For details about logging configuration
115# files, see the Python logging module documentation. (string value)
116# Deprecated group/name - [DEFAULT]/log_config
117#log_config_append = <None>
118
119# DEPRECATED. A logging.Formatter log message format string which may use any
120# of the available logging.LogRecord attributes. This option is deprecated.
121# Please use logging_context_format_string and logging_default_format_string
122# instead. (string value)
123#log_format = <None>
124
125# Format string for %%(asctime)s in log records. Default: %(default)s . (string
126# value)
127#log_date_format = %Y-%m-%d %H:%M:%S
128
129# (Optional) Name of log file to output to. If no default is set, logging will
130# go to stdout. (string value)
131# Deprecated group/name - [DEFAULT]/logfile
132#log_file = <None>
133
134# (Optional) The base directory used for relative --log-file paths. (string
135# value)
136# Deprecated group/name - [DEFAULT]/logdir
137#log_dir = <None>
138log_dir = /var/log/keystone
139
140# Use syslog for logging. Existing syslog format is DEPRECATED and will be
141# changed later to honor RFC5424. (boolean value)
142#use_syslog = false
143
144# (Optional) Enables or disables syslog rfc5424 format for logging. If enabled,
145# prefixes the MSG part of the syslog message with APP-NAME (RFC5424). The
146# format without the APP-NAME is deprecated in Kilo, and will be removed in
147# Mitaka, along with this option. (boolean value)
148# This option is deprecated for removal.
149# Its value may be silently ignored in the future.
150#use_syslog_rfc_format = true
151
152# Syslog facility to receive log lines. (string value)
153#syslog_log_facility = LOG_USER
154
155# Log output to standard error. (boolean value)
156#use_stderr = true
157
158# Format string to use for log messages with context. (string value)
159#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
160
161# Format string to use for log messages without context. (string value)
162#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
163
164# Data to append to log format when level is DEBUG. (string value)
165#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
166
167# Prefix each line of exception output with this format. (string value)
168#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
169
170# List of logger=LEVEL pairs. (list value)
171#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN
172
173# Enables or disables publication of error events. (boolean value)
174#publish_errors = false
175
176# The format for an instance that is passed with the log message. (string
177# value)
178#instance_format = "[instance: %(uuid)s] "
179
180# The format for an instance UUID that is passed with the log message. (string
181# value)
182#instance_uuid_format = "[instance: %(uuid)s] "
183
184# Enables or disables fatal status of deprecations. (boolean value)
185#fatal_deprecations = false
186
187#
188# From oslo.messaging
189#
190
191# Size of RPC connection pool. (integer value)
192# Deprecated group/name - [DEFAULT]/rpc_conn_pool_size
193#rpc_conn_pool_size = 30
194
195# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
196# The "host" option should point or resolve to this address. (string value)
197#rpc_zmq_bind_address = *
198
199# MatchMaker driver. (string value)
200#rpc_zmq_matchmaker = local
201
202# ZeroMQ receiver listening port. (integer value)
203#rpc_zmq_port = 9501
204
205# Number of ZeroMQ contexts, defaults to 1. (integer value)
206#rpc_zmq_contexts = 1
207
208# Maximum number of ingress messages to locally buffer per topic. Default is
209# unlimited. (integer value)
210#rpc_zmq_topic_backlog = <None>
211
212# Directory for holding IPC sockets. (string value)
213#rpc_zmq_ipc_dir = /var/run/openstack
214
215# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
216# "host" option, if running Nova. (string value)
217#rpc_zmq_host = localhost
218
219# Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.
220# (integer value)
221#rpc_cast_timeout = 30
222
223# Heartbeat frequency. (integer value)
224#matchmaker_heartbeat_freq = 300
225
226# Heartbeat time-to-live. (integer value)
227#matchmaker_heartbeat_ttl = 600
228
229# Size of executor thread pool. (integer value)
230# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
231#executor_thread_pool_size = 64
232
233# The Drivers(s) to handle sending notifications. Possible values are
234# messaging, messagingv2, routing, log, test, noop (multi valued)
235{%- if server.notification %}
236#notification_driver=
237notification_driver=messaging
238{%- endif %}
239# AMQP topic used for OpenStack notifications. (list value)
240# Deprecated group/name - [rpc_notifier2]/topics
241#notification_topics = notifications
242
243# Seconds to wait for a response from a call. (integer value)
244#rpc_response_timeout = 60
245
246# A URL representing the messaging driver to use and its full configuration. If
247# not set, we fall back to the rpc_backend option and driver specific
248# configuration. (string value)
249#transport_url = <None>
250
251# The messaging driver to use, defaults to rabbit. Other drivers include qpid
252# and zmq. (string value)
253#rpc_backend = rabbit
254
255# The default exchange under which topics are scoped. May be overridden by an
256# exchange name specified in the transport_url option. (string value)
257#control_exchange = keystone
258
259#
260# From oslo.service.service
261#
262
263# Enable eventlet backdoor. Acceptable values are 0, <port>, and
264# <start>:<end>, where 0 results in listening on a random tcp port number;
265# <port> results in listening on the specified port number (and not enabling
266# backdoor if that port is in use); and <start>:<end> results in listening on
267# the smallest unused port number within the specified range of port numbers.
268# The chosen port is displayed in the service's log file. (string value)
269#backdoor_port = <None>
270
271# Enables or disables logging values of all registered options when starting a
272# service (at DEBUG level). (boolean value)
273#log_options = true
274
275
276[assignment]
277
278#
279# From keystone
280#
281
282# Entrypoint for the assignment backend driver in the keystone.assignment
283# namespace. Supplied drivers are ldap and sql. If an assignment driver is not
284# specified, the identity driver will choose the assignment driver. (string
285# value)
286#driver = <None>
287
288
289[auth]
290
291#
292# From keystone
293#
294
295# Allowed authentication methods. (list value)
296#methods = external,password,token,oauth1
297
298# Entrypoint for the password auth plugin module in the keystone.auth.password
299# namespace. (string value)
300#password = <None>
301
302# Entrypoint for the token auth plugin module in the keystone.auth.token
303# namespace. (string value)
304#token = <None>
305
306# Entrypoint for the external (REMOTE_USER) auth plugin module in the
307# keystone.auth.external namespace. Supplied drivers are DefaultDomain and
308# Domain. The default driver is DefaultDomain. (string value)
309#external = <None>
310
311# Entrypoint for the oAuth1.0 auth plugin module in the keystone.auth.oauth1
312# namespace. (string value)
313#oauth1 = <None>
314
315
316[cache]
317
318#
319# From keystone
320#
321
322# Prefix for building the configuration dictionary for the cache region. This
323# should not need to be changed unless there is another dogpile.cache region
324# with the same configuration name. (string value)
325#config_prefix = cache.keystone
326
327# Default TTL, in seconds, for any cached item in the dogpile.cache region.
328# This applies to any cached method that doesn't have an explicit cache
329# expiration time defined for it. (integer value)
330#expiration_time = 600
331
332# Dogpile.cache backend module. It is recommended that Memcache with pooling
333# (keystone.cache.memcache_pool) or Redis (dogpile.cache.redis) be used in
334# production deployments. Small workloads (single process) like devstack can
335# use the dogpile.cache.memory backend. (string value)
336#backend = keystone.common.cache.noop
337backend=keystone.cache.memcache_pool
338
339# Arguments supplied to the backend module. Specify this option once per
340# argument to be passed to the dogpile.cache backend. Example format:
341# "<argname>:<value>". (multi valued)
342#backend_argument =
343
344# Proxy classes to import that will affect the way the dogpile.cache backend
345# functions. See the dogpile.cache documentation on changing-backend-behavior.
346# (list value)
347#proxies =
348
349# Global toggle for all caching using the should_cache_fn mechanism. (boolean
350# value)
351#enabled = false
352enabled = true
353
354# Extra debugging from the cache backend (cache keys, get/set/delete/etc
355# calls). This is only really useful if you need to see the specific cache-
356# backend get/set/delete calls with the keys/values. Typically this should be
357# left set to false. (boolean value)
358#debug_cache_backend = false
359
360# Memcache servers in the format of "host:port". (dogpile.cache.memcache and
361# keystone.cache.memcache_pool backends only). (list value)
362#memcache_servers = localhost:11211
363{%- if server.cache is defined %}
364{%- if server.cache.members is defined %}
365memcache_servers = {%- for member in server.cache.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{%- endfor %}
366{%- else %}
367memcache_servers = ['{{ server.cache.host }}:{{ server.cache.port }}']
368{%- endif %}
369{%- endif %}
370
371# Number of seconds memcached server is considered dead before it is tried
372# again. (dogpile.cache.memcache and keystone.cache.memcache_pool backends
373# only). (integer value)
374#memcache_dead_retry = 300
375memcache_dead_retry = 300
376
377# Timeout in seconds for every call to a server. (dogpile.cache.memcache and
378# keystone.cache.memcache_pool backends only). (integer value)
379#memcache_socket_timeout = 3
380memcache_socket_timeout = 1
381
382# Max total number of open connections to every memcached server.
383# (keystone.cache.memcache_pool backend only). (integer value)
384#memcache_pool_maxsize = 10
385memcache_pool_maxsize = 100
386
387# Number of seconds a connection to memcached is held unused in the pool before
388# it is closed. (keystone.cache.memcache_pool backend only). (integer value)
389#memcache_pool_unused_timeout = 60
390memcache_pool_unused_timeout = 60
391
392# Number of seconds that an operation will wait to get a memcache client
393# connection. (integer value)
394#memcache_pool_connection_get_timeout = 10
395
396
397[catalog]
398
399#
400# From keystone
401#
402
403# Catalog template file name for use with the template catalog backend. (string
404# value)
405#template_file = default_catalog.templates
406template_file = default_catalog.templates
407
408# Entrypoint for the catalog backend driver in the keystone.catalog namespace.
409# Supplied drivers are kvs, sql, templated, and endpoint_filter.sql (string
410# value)
411driver = sql
412#template_file=/etc/keystone/default_catalog.templates
413
414# Catalog backend driver. (string value)
415#driver=keystone.catalog.backends.sql.Catalog
416#driver=keystone.catalog.backends.sql.Catalog
417
418# Toggle for catalog caching. This has no effect unless global caching is
419# enabled. (boolean value)
420#caching = true
421
422# Time to cache catalog data (in seconds). This has no effect unless global and
423# catalog caching are enabled. (integer value)
424#cache_time = <None>
425
426# Maximum number of entities that will be returned in a catalog collection.
427# (integer value)
428#list_limit = <None>
429
430
431[cors]
432
433#
434# From oslo.middleware
435#
436
437# Indicate whether this resource may be shared with the domain received in the
438# requests "origin" header. (string value)
439#allowed_origin = <None>
440
441# Indicate that the actual request can include user credentials (boolean value)
442#allow_credentials = true
443
444# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
445# Headers. (list value)
446#expose_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
447
448# Maximum cache age of CORS preflight requests. (integer value)
449#max_age = 3600
450
451# Indicate which methods can be used during the actual request. (list value)
452#allow_methods = GET,POST,PUT,DELETE,OPTIONS
453
454# Indicate which header field names may be used during the actual request.
455# (list value)
456#allow_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
457
458
459[cors.subdomain]
460
461#
462# From oslo.middleware
463#
464
465# Indicate whether this resource may be shared with the domain received in the
466# requests "origin" header. (string value)
467#allowed_origin = <None>
468
469# Indicate that the actual request can include user credentials (boolean value)
470#allow_credentials = true
471
472# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
473# Headers. (list value)
474#expose_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
475
476# Maximum cache age of CORS preflight requests. (integer value)
477#max_age = 3600
478
479# Indicate which methods can be used during the actual request. (list value)
480#allow_methods = GET,POST,PUT,DELETE,OPTIONS
481
482# Indicate which header field names may be used during the actual request.
483# (list value)
484#allow_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
485
486
487[credential]
488
489#
490# From keystone
491#
492
493# Entrypoint for the credential backend driver in the keystone.credential
494# namespace. (string value)
495#driver = sql
496
497
498[database]
499
500#
501# From oslo.db
502#
503
504# The file name to use with SQLite. (string value)
505# Deprecated group/name - [DEFAULT]/sqlite_db
506#sqlite_db = oslo.sqlite
507
508# If True, SQLite uses synchronous mode. (boolean value)
509# Deprecated group/name - [DEFAULT]/sqlite_synchronous
510#sqlite_synchronous = true
511
512# The back end to use for the database. (string value)
513# Deprecated group/name - [DEFAULT]/db_backend
514#backend = sqlalchemy
515
516# The SQLAlchemy connection string to use to connect to the database. (string
517# value)
518# Deprecated group/name - [DEFAULT]/sql_connection
519# Deprecated group/name - [DATABASE]/sql_connection
520# Deprecated group/name - [sql]/connection
521#connection = <None>
522connection={{ server.database.engine }}://{{ server.database.user }}:{{ server.database.password }}@{{ server.database.host }}/{{ server.database.name }}
523
524# The SQLAlchemy connection string to use to connect to the slave database.
525# (string value)
526#slave_connection = <None>
527
528# The SQL mode to be used for MySQL sessions. This option, including the
529# default, overrides any server-set SQL mode. To use whatever SQL mode is set
530# by the server configuration, set this to no value. Example: mysql_sql_mode=
531# (string value)
532#mysql_sql_mode = TRADITIONAL
533
534# Timeout before idle SQL connections are reaped. (integer value)
535# Deprecated group/name - [DEFAULT]/sql_idle_timeout
536# Deprecated group/name - [DATABASE]/sql_idle_timeout
537# Deprecated group/name - [sql]/idle_timeout
538#idle_timeout = 3600
539idle_timeout = 3600
540
541# Minimum number of SQL connections to keep open in a pool. (integer value)
542# Deprecated group/name - [DEFAULT]/sql_min_pool_size
543# Deprecated group/name - [DATABASE]/sql_min_pool_size
544#min_pool_size = 1
545
546# Maximum number of SQL connections to keep open in a pool. (integer value)
547# Deprecated group/name - [DEFAULT]/sql_max_pool_size
548# Deprecated group/name - [DATABASE]/sql_max_pool_size
549#max_pool_size = <None>
550max_pool_size=10
551max_overflow=30
552max_retries=-1
553
554# Maximum number of database connection retries during startup. Set to -1 to
555# specify an infinite retry count. (integer value)
556# Deprecated group/name - [DEFAULT]/sql_max_retries
557# Deprecated group/name - [DATABASE]/sql_max_retries
558#max_retries = 10
559
560# Interval between retries of opening a SQL connection. (integer value)
561# Deprecated group/name - [DEFAULT]/sql_retry_interval
562# Deprecated group/name - [DATABASE]/reconnect_interval
563#retry_interval = 10
564
565# If set, use this value for max_overflow with SQLAlchemy. (integer value)
566# Deprecated group/name - [DEFAULT]/sql_max_overflow
567# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
568#max_overflow = <None>
569
570# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
571# value)
572# Deprecated group/name - [DEFAULT]/sql_connection_debug
573#connection_debug = 0
574
575# Add Python stack traces to SQL as comment strings. (boolean value)
576# Deprecated group/name - [DEFAULT]/sql_connection_trace
577#connection_trace = false
578
579# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
580# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
581#pool_timeout = <None>
582
583# Enable the experimental use of database reconnect on connection lost.
584# (boolean value)
585#use_db_reconnect = false
586
587# Seconds between retries of a database transaction. (integer value)
588#db_retry_interval = 1
589
590# If True, increases the interval between retries of a database operation up to
591# db_max_retry_interval. (boolean value)
592#db_inc_retry_interval = true
593
594# If db_inc_retry_interval is set, the maximum seconds between retries of a
595# database operation. (integer value)
596#db_max_retry_interval = 10
597
598# Maximum retries in case of connection error or deadlock error before error is
599# raised. Set to -1 to specify an infinite retry count. (integer value)
600#db_max_retries = 20
601
602
603[domain_config]
604
605#
606# From keystone
607#
608
609# Entrypoint for the domain config backend driver in the
610# keystone.resource.domain_config namespace. (string value)
611#driver = sql
612
613# Toggle for domain config caching. This has no effect unless global caching is
614# enabled. (boolean value)
615#caching = true
616
617# TTL (in seconds) to cache domain config data. This has no effect unless
618# domain config caching is enabled. (integer value)
619#cache_time = 300
620
621
622[endpoint_filter]
623
624#
625# From keystone
626#
627
628# Entrypoint for the endpoint filter backend driver in the
629# keystone.endpoint_filter namespace. (string value)
630#driver = sql
631
632# Toggle to return all active endpoints if no filter exists. (boolean value)
633#return_all_endpoints_if_no_filter = true
634
635
636[endpoint_policy]
637
638#
639# From keystone
640#
641
642# Enable endpoint_policy functionality. (boolean value)
643#enabled = true
644
645# Entrypoint for the endpoint policy backend driver in the
646# keystone.endpoint_policy namespace. (string value)
647#driver = sql
648
649
650[eventlet_server]
651
652#
653# From keystone
654#
655
656# The number of worker processes to serve the public eventlet application.
657# Defaults to number of CPUs (minimum of 2). (integer value)
658# Deprecated group/name - [DEFAULT]/public_workers
659# This option is deprecated for removal.
660# Its value may be silently ignored in the future.
661#public_workers = <None>
662
663# The number of worker processes to serve the admin eventlet application.
664# Defaults to number of CPUs (minimum of 2). (integer value)
665# Deprecated group/name - [DEFAULT]/admin_workers
666# This option is deprecated for removal.
667# Its value may be silently ignored in the future.
668#admin_workers = <None>
669
670# The IP address of the network interface for the public service to listen on.
671# (string value)
672# Deprecated group/name - [DEFAULT]/bind_host
673# Deprecated group/name - [DEFAULT]/public_bind_host
674# This option is deprecated for removal.
675# Its value may be silently ignored in the future.
676#public_bind_host = 0.0.0.0
677public_bind_host={% if server.bind.address is defined %}{{ server.bind.address }}{% else %}{{ server.bind.public_address }}{% endif %}
678
679# The port number which the public service listens on. (integer value)
680# Minimum value: 1
681# Maximum value: 65535
682# Deprecated group/name - [DEFAULT]/public_port
683# This option is deprecated for removal.
684# Its value may be silently ignored in the future.
685#public_port = 5000
686
687# The IP address of the network interface for the admin service to listen on.
688# (string value)
689# Deprecated group/name - [DEFAULT]/bind_host
690# Deprecated group/name - [DEFAULT]/admin_bind_host
691# This option is deprecated for removal.
692# Its value may be silently ignored in the future.
693#admin_bind_host = 0.0.0.0
694admin_bind_host={% if server.bind.address is defined %}{{ server.bind.address }}{% else %}{{ server.bind.public_address }}{% endif %}
695
696# The port number which the admin service listens on. (integer value)
697# Minimum value: 1
698# Maximum value: 65535
699# Deprecated group/name - [DEFAULT]/admin_port
700# This option is deprecated for removal.
701# Its value may be silently ignored in the future.
702#admin_port = 35357
703
704# If set to false, disables keepalives on the server; all connections will be
705# closed after serving one request. (boolean value)
706#wsgi_keep_alive = true
707
708# Timeout for socket operations on a client connection. If an incoming
709# connection is idle for this number of seconds it will be closed. A value of
710# '0' means wait forever. (integer value)
711#client_socket_timeout = 900
712
713# Set this to true if you want to enable TCP_KEEPALIVE on server sockets, i.e.
714# sockets used by the Keystone wsgi server for client connections. (boolean
715# value)
716# Deprecated group/name - [DEFAULT]/tcp_keepalive
717# This option is deprecated for removal.
718# Its value may be silently ignored in the future.
719#tcp_keepalive = false
720
721# Sets the value of TCP_KEEPIDLE in seconds for each server socket. Only
722# applies if tcp_keepalive is true. (integer value)
723# Deprecated group/name - [DEFAULT]/tcp_keepidle
724# This option is deprecated for removal.
725# Its value may be silently ignored in the future.
726#tcp_keepidle = 600
727
728
729[eventlet_server_ssl]
730
731#
732# From keystone
733#
734
735# Toggle for SSL support on the Keystone eventlet servers. (boolean value)
736# Deprecated group/name - [ssl]/enable
737# This option is deprecated for removal.
738# Its value may be silently ignored in the future.
739#enable = false
740
741# Path of the certfile for SSL. For non-production environments, you may be
742# interested in using `keystone-manage ssl_setup` to generate self-signed
743# certificates. (string value)
744# Deprecated group/name - [ssl]/certfile
745# This option is deprecated for removal.
746# Its value may be silently ignored in the future.
747#certfile = /etc/keystone/ssl/certs/keystone.pem
748
749# Path of the keyfile for SSL. (string value)
750# Deprecated group/name - [ssl]/keyfile
751# This option is deprecated for removal.
752# Its value may be silently ignored in the future.
753#keyfile = /etc/keystone/ssl/private/keystonekey.pem
754
755# Path of the CA cert file for SSL. (string value)
756# Deprecated group/name - [ssl]/ca_certs
757# This option is deprecated for removal.
758# Its value may be silently ignored in the future.
759#ca_certs = /etc/keystone/ssl/certs/ca.pem
760
761# Require client certificate. (boolean value)
762# Deprecated group/name - [ssl]/cert_required
763# This option is deprecated for removal.
764# Its value may be silently ignored in the future.
765#cert_required = false
766
767
768[federation]
769
770#
771# From keystone
772#
773
774# Entrypoint for the federation backend driver in the keystone.federation
775# namespace. (string value)
776#driver = sql
777
778# Value to be used when filtering assertion parameters from the environment.
779# (string value)
780#assertion_prefix =
781
782# Value to be used to obtain the entity ID of the Identity Provider from the
783# environment (e.g. if using the mod_shib plugin this value is `Shib-Identity-
784# Provider`). (string value)
785#remote_id_attribute = <None>
786
787# A domain name that is reserved to allow federated ephemeral users to have a
788# domain concept. Note that an admin will not be able to create a domain with
789# this name or update an existing domain to this name. You are not advised to
790# change this value unless you really have to. (string value)
791#federated_domain_name = Federated
792
793# A list of trusted dashboard hosts. Before accepting a Single Sign-On request
794# to return a token, the origin host must be a member of the trusted_dashboard
795# list. This configuration option may be repeated for multiple values. For
796# example: trusted_dashboard=http://acme.com trusted_dashboard=http://beta.com
797# (multi valued)
798#trusted_dashboard =
799
800# Location of Single Sign-On callback handler, will return a token to a trusted
801# dashboard host. (string value)
802#sso_callback_template = /etc/keystone/sso_callback_template.html
803
804
805[fernet_tokens]
806
807#
808# From keystone
809#
810
811# Directory containing Fernet token keys. (string value)
812#key_repository = /etc/keystone/fernet-keys/
813key_repository = {{ server.tokens.location }}
814
815# This controls how many keys are held in rotation by keystone-manage
816# fernet_rotate before they are discarded. The default value of 3 means that
817# keystone will maintain one staged key, one primary key, and one secondary
818# key. Increasing this value means that additional secondary keys will be kept
819# in the rotation. (integer value)
820#max_active_keys = 3
821
822
823[identity]
824
825#
826# From keystone
827#
828
829# This references the domain to use for all Identity API v2 requests (which are
830# not aware of domains). A domain with this ID will be created for you by
831# keystone-manage db_sync in migration 008. The domain referenced by this ID
832# cannot be deleted on the v3 API, to prevent accidentally breaking the v2 API.
833# There is nothing special about this domain, other than the fact that it must
834# exist to order to maintain support for your v2 clients. (string value)
835#default_domain_id = default
836
837# A subset (or all) of domains can have their own identity driver, each with
838# their own partial configuration options, stored in either the resource
839# backend or in a file in a domain configuration directory (depending on the
840# setting of domain_configurations_from_database). Only values specific to the
841# domain need to be specified in this manner. This feature is disabled by
842# default; set to true to enable. (boolean value)
843#domain_specific_drivers_enabled = false
844
845# Extract the domain specific configuration options from the resource backend
846# where they have been stored with the domain data. This feature is disabled by
847# default (in which case the domain specific options will be loaded from files
848# in the domain configuration directory); set to true to enable. (boolean
849# value)
850#domain_configurations_from_database = false
851
852# Path for Keystone to locate the domain specific identity configuration files
853# if domain_specific_drivers_enabled is set to true. (string value)
854#domain_config_dir = /etc/keystone/domains
855
856# Entrypoint for the identity backend driver in the keystone.identity
857# namespace. Supplied drivers are ldap and sql. (string value)
858#driver = sql
859driver = sql
860
861# Toggle for identity caching. This has no effect unless global caching is
862# enabled. (boolean value)
863#caching = true
864
865# Time to cache identity data (in seconds). This has no effect unless global
866# and identity caching are enabled. (integer value)
867#cache_time = 600
868
869# Maximum supported length for user passwords; decrease to improve performance.
870# (integer value)
871# Maximum value: 4096
872#max_password_length = 4096
873
874# Maximum number of entities that will be returned in an identity collection.
875# (integer value)
876#list_limit = <None>
877
878
879[identity_mapping]
880
881#
882# From keystone
883#
884
885# Entrypoint for the identity mapping backend driver in the
886# keystone.identity.id_mapping namespace. (string value)
887#driver = sql
888
889# Entrypoint for the public ID generator for user and group entities in the
890# keystone.identity.id_generator namespace. The Keystone identity mapper only
891# supports generators that produce no more than 64 characters. (string value)
892#generator = sha256
893
894# The format of user and group IDs changed in Juno for backends that do not
895# generate UUIDs (e.g. LDAP), with keystone providing a hash mapping to the
896# underlying attribute in LDAP. By default this mapping is disabled, which
897# ensures that existing IDs will not change. Even when the mapping is enabled
898# by using domain specific drivers, any users and groups from the default
899# domain being handled by LDAP will still not be mapped to ensure their IDs
900# remain backward compatible. Setting this value to False will enable the
901# mapping for even the default LDAP driver. It is only safe to do this if you
902# do not already have assignments for users and groups from the default LDAP
903# domain, and it is acceptable for Keystone to provide the different IDs to
904# clients than it did previously. Typically this means that the only time you
905# can set this value to False is when configuring a fresh installation.
906# (boolean value)
907#backward_compatible_ids = true
908
909
910[kvs]
911
912#
913# From keystone
914#
915
916# Extra dogpile.cache backend modules to register with the dogpile.cache
917# library. (list value)
918#backends =
919
920# Prefix for building the configuration dictionary for the KVS region. This
921# should not need to be changed unless there is another dogpile.cache region
922# with the same configuration name. (string value)
923#config_prefix = keystone.kvs
924
925# Toggle to disable using a key-mangling function to ensure fixed length keys.
926# This is toggle-able for debugging purposes, it is highly recommended to
927# always leave this set to true. (boolean value)
928#enable_key_mangler = true
929
930# Default lock timeout (in seconds) for distributed locking. (integer value)
931#default_lock_timeout = 5
932
933
934[ldap]
935
936#
937# From keystone
938#
939
940# URL for connecting to the LDAP server. (string value)
941#url = ldap://localhost
942
943# User BindDN to query the LDAP server. (string value)
944#user = <None>
945
946# Password for the BindDN to query the LDAP server. (string value)
947#password = <None>
948
949# LDAP server suffix (string value)
950#suffix = cn=example,cn=com
951
952# If true, will add a dummy member to groups. This is required if the
953# objectclass for groups requires the "member" attribute. (boolean value)
954#use_dumb_member = false
955
956# DN of the "dummy member" to use when "use_dumb_member" is enabled. (string
957# value)
958#dumb_member = cn=dumb,dc=nonexistent
959
960# Delete subtrees using the subtree delete control. Only enable this option if
961# your LDAP server supports subtree deletion. (boolean value)
962#allow_subtree_delete = false
963
964# The LDAP scope for queries, "one" represents oneLevel/singleLevel and "sub"
965# represents subtree/wholeSubtree options. (string value)
966# Allowed values: one, sub
967#query_scope = one
968
969# Maximum results per page; a value of zero ("0") disables paging. (integer
970# value)
971#page_size = 0
972
973# The LDAP dereferencing option for queries. The "default" option falls back to
974# using default dereferencing configured by your ldap.conf. (string value)
975# Allowed values: never, searching, always, finding, default
976#alias_dereferencing = default
977
978# Sets the LDAP debugging level for LDAP calls. A value of 0 means that
979# debugging is not enabled. This value is a bitmask, consult your LDAP
980# documentation for possible values. (integer value)
981#debug_level = <None>
982
983# Override the system's default referral chasing behavior for queries. (boolean
984# value)
985#chase_referrals = <None>
986
987# Search base for users. Defaults to the suffix value. (string value)
988#user_tree_dn = <None>
989
990# LDAP search filter for users. (string value)
991#user_filter = <None>
992
993# LDAP objectclass for users. (string value)
994#user_objectclass = inetOrgPerson
995
996# LDAP attribute mapped to user id. WARNING: must not be a multivalued
997# attribute. (string value)
998#user_id_attribute = cn
999
1000# LDAP attribute mapped to user name. (string value)
1001#user_name_attribute = sn
1002
1003# LDAP attribute mapped to user email. (string value)
1004#user_mail_attribute = mail
1005
1006# LDAP attribute mapped to password. (string value)
1007#user_pass_attribute = userPassword
1008
1009# LDAP attribute mapped to user enabled flag. (string value)
1010#user_enabled_attribute = enabled
1011
1012# Invert the meaning of the boolean enabled values. Some LDAP servers use a
1013# boolean lock attribute where "true" means an account is disabled. Setting
1014# "user_enabled_invert = true" will allow these lock attributes to be used.
1015# This setting will have no effect if "user_enabled_mask" or
1016# "user_enabled_emulation" settings are in use. (boolean value)
1017#user_enabled_invert = false
1018
1019# Bitmask integer to indicate the bit that the enabled value is stored in if
1020# the LDAP server represents "enabled" as a bit on an integer rather than a
1021# boolean. A value of "0" indicates the mask is not used. If this is not set to
1022# "0" the typical value is "2". This is typically used when
1023# "user_enabled_attribute = userAccountControl". (integer value)
1024#user_enabled_mask = 0
1025
1026# Default value to enable users. This should match an appropriate int value if
1027# the LDAP server uses non-boolean (bitmask) values to indicate if a user is
1028# enabled or disabled. If this is not set to "True" the typical value is "512".
1029# This is typically used when "user_enabled_attribute = userAccountControl".
1030# (string value)
1031#user_enabled_default = True
1032
1033# List of attributes stripped off the user on update. (list value)
1034#user_attribute_ignore = default_project_id
1035
1036# LDAP attribute mapped to default_project_id for users. (string value)
1037#user_default_project_id_attribute = <None>
1038
1039# Allow user creation in LDAP backend. (boolean value)
1040#user_allow_create = true
1041
1042# Allow user updates in LDAP backend. (boolean value)
1043#user_allow_update = true
1044
1045# Allow user deletion in LDAP backend. (boolean value)
1046#user_allow_delete = true
1047
1048# If true, Keystone uses an alternative method to determine if a user is
1049# enabled or not by checking if they are a member of the
1050# "user_enabled_emulation_dn" group. (boolean value)
1051#user_enabled_emulation = false
1052
1053# DN of the group entry to hold enabled users when using enabled emulation.
1054# (string value)
1055#user_enabled_emulation_dn = <None>
1056
1057# List of additional LDAP attributes used for mapping additional attribute
1058# mappings for users. Attribute mapping format is <ldap_attr>:<user_attr>,
1059# where ldap_attr is the attribute in the LDAP entry and user_attr is the
1060# Identity API attribute. (list value)
1061#user_additional_attribute_mapping =
1062
1063# Search base for projects. Defaults to the suffix value. (string value)
1064# Deprecated group/name - [ldap]/tenant_tree_dn
1065# This option is deprecated for removal.
1066# Its value may be silently ignored in the future.
1067#project_tree_dn = <None>
1068
1069# LDAP search filter for projects. (string value)
1070# Deprecated group/name - [ldap]/tenant_filter
1071# This option is deprecated for removal.
1072# Its value may be silently ignored in the future.
1073#project_filter = <None>
1074
1075# LDAP objectclass for projects. (string value)
1076# Deprecated group/name - [ldap]/tenant_objectclass
1077# This option is deprecated for removal.
1078# Its value may be silently ignored in the future.
1079#project_objectclass = groupOfNames
1080
1081# LDAP attribute mapped to project id. (string value)
1082# Deprecated group/name - [ldap]/tenant_id_attribute
1083# This option is deprecated for removal.
1084# Its value may be silently ignored in the future.
1085#project_id_attribute = cn
1086
1087# LDAP attribute mapped to project membership for user. (string value)
1088# Deprecated group/name - [ldap]/tenant_member_attribute
1089# This option is deprecated for removal.
1090# Its value may be silently ignored in the future.
1091#project_member_attribute = member
1092
1093# LDAP attribute mapped to project name. (string value)
1094# Deprecated group/name - [ldap]/tenant_name_attribute
1095# This option is deprecated for removal.
1096# Its value may be silently ignored in the future.
1097#project_name_attribute = ou
1098
1099# LDAP attribute mapped to project description. (string value)
1100# Deprecated group/name - [ldap]/tenant_desc_attribute
1101# This option is deprecated for removal.
1102# Its value may be silently ignored in the future.
1103#project_desc_attribute = description
1104
1105# LDAP attribute mapped to project enabled. (string value)
1106# Deprecated group/name - [ldap]/tenant_enabled_attribute
1107# This option is deprecated for removal.
1108# Its value may be silently ignored in the future.
1109#project_enabled_attribute = enabled
1110
1111# LDAP attribute mapped to project domain_id. (string value)
1112# Deprecated group/name - [ldap]/tenant_domain_id_attribute
1113# This option is deprecated for removal.
1114# Its value may be silently ignored in the future.
1115#project_domain_id_attribute = businessCategory
1116
1117# List of attributes stripped off the project on update. (list value)
1118# Deprecated group/name - [ldap]/tenant_attribute_ignore
1119# This option is deprecated for removal.
1120# Its value may be silently ignored in the future.
1121#project_attribute_ignore =
1122
1123# Allow project creation in LDAP backend. (boolean value)
1124# Deprecated group/name - [ldap]/tenant_allow_create
1125# This option is deprecated for removal.
1126# Its value may be silently ignored in the future.
1127#project_allow_create = true
1128
1129# Allow project update in LDAP backend. (boolean value)
1130# Deprecated group/name - [ldap]/tenant_allow_update
1131# This option is deprecated for removal.
1132# Its value may be silently ignored in the future.
1133#project_allow_update = true
1134
1135# Allow project deletion in LDAP backend. (boolean value)
1136# Deprecated group/name - [ldap]/tenant_allow_delete
1137# This option is deprecated for removal.
1138# Its value may be silently ignored in the future.
1139#project_allow_delete = true
1140
1141# If true, Keystone uses an alternative method to determine if a project is
1142# enabled or not by checking if they are a member of the
1143# "project_enabled_emulation_dn" group. (boolean value)
1144# Deprecated group/name - [ldap]/tenant_enabled_emulation
1145# This option is deprecated for removal.
1146# Its value may be silently ignored in the future.
1147#project_enabled_emulation = false
1148
1149# DN of the group entry to hold enabled projects when using enabled emulation.
1150# (string value)
1151# Deprecated group/name - [ldap]/tenant_enabled_emulation_dn
1152# This option is deprecated for removal.
1153# Its value may be silently ignored in the future.
1154#project_enabled_emulation_dn = <None>
1155
1156# Additional attribute mappings for projects. Attribute mapping format is
1157# <ldap_attr>:<user_attr>, where ldap_attr is the attribute in the LDAP entry
1158# and user_attr is the Identity API attribute. (list value)
1159# Deprecated group/name - [ldap]/tenant_additional_attribute_mapping
1160# This option is deprecated for removal.
1161# Its value may be silently ignored in the future.
1162#project_additional_attribute_mapping =
1163
1164# Search base for roles. Defaults to the suffix value. (string value)
1165# This option is deprecated for removal.
1166# Its value may be silently ignored in the future.
1167#role_tree_dn = <None>
1168
1169# LDAP search filter for roles. (string value)
1170# This option is deprecated for removal.
1171# Its value may be silently ignored in the future.
1172#role_filter = <None>
1173
1174# LDAP objectclass for roles. (string value)
1175# This option is deprecated for removal.
1176# Its value may be silently ignored in the future.
1177#role_objectclass = organizationalRole
1178
1179# LDAP attribute mapped to role id. (string value)
1180# This option is deprecated for removal.
1181# Its value may be silently ignored in the future.
1182#role_id_attribute = cn
1183
1184# LDAP attribute mapped to role name. (string value)
1185# This option is deprecated for removal.
1186# Its value may be silently ignored in the future.
1187#role_name_attribute = ou
1188
1189# LDAP attribute mapped to role membership. (string value)
1190# This option is deprecated for removal.
1191# Its value may be silently ignored in the future.
1192#role_member_attribute = roleOccupant
1193
1194# List of attributes stripped off the role on update. (list value)
1195# This option is deprecated for removal.
1196# Its value may be silently ignored in the future.
1197#role_attribute_ignore =
1198
1199# Allow role creation in LDAP backend. (boolean value)
1200# This option is deprecated for removal.
1201# Its value may be silently ignored in the future.
1202#role_allow_create = true
1203
1204# Allow role update in LDAP backend. (boolean value)
1205# This option is deprecated for removal.
1206# Its value may be silently ignored in the future.
1207#role_allow_update = true
1208
1209# Allow role deletion in LDAP backend. (boolean value)
1210# This option is deprecated for removal.
1211# Its value may be silently ignored in the future.
1212#role_allow_delete = true
1213
1214# Additional attribute mappings for roles. Attribute mapping format is
1215# <ldap_attr>:<user_attr>, where ldap_attr is the attribute in the LDAP entry
1216# and user_attr is the Identity API attribute. (list value)
1217# This option is deprecated for removal.
1218# Its value may be silently ignored in the future.
1219#role_additional_attribute_mapping =
1220
1221# Search base for groups. Defaults to the suffix value. (string value)
1222#group_tree_dn = <None>
1223
1224# LDAP search filter for groups. (string value)
1225#group_filter = <None>
1226
1227# LDAP objectclass for groups. (string value)
1228#group_objectclass = groupOfNames
1229
1230# LDAP attribute mapped to group id. (string value)
1231#group_id_attribute = cn
1232
1233# LDAP attribute mapped to group name. (string value)
1234#group_name_attribute = ou
1235
1236# LDAP attribute mapped to show group membership. (string value)
1237#group_member_attribute = member
1238
1239# LDAP attribute mapped to group description. (string value)
1240#group_desc_attribute = description
1241
1242# List of attributes stripped off the group on update. (list value)
1243#group_attribute_ignore =
1244
1245# Allow group creation in LDAP backend. (boolean value)
1246#group_allow_create = true
1247
1248# Allow group update in LDAP backend. (boolean value)
1249#group_allow_update = true
1250
1251# Allow group deletion in LDAP backend. (boolean value)
1252#group_allow_delete = true
1253
1254# Additional attribute mappings for groups. Attribute mapping format is
1255# <ldap_attr>:<user_attr>, where ldap_attr is the attribute in the LDAP entry
1256# and user_attr is the Identity API attribute. (list value)
1257#group_additional_attribute_mapping =
1258
1259# CA certificate file path for communicating with LDAP servers. (string value)
1260#tls_cacertfile = <None>
1261
1262# CA certificate directory path for communicating with LDAP servers. (string
1263# value)
1264#tls_cacertdir = <None>
1265
1266# Enable TLS for communicating with LDAP servers. (boolean value)
1267#use_tls = false
1268
1269# Specifies what checks to perform on client certificates in an incoming TLS
1270# session. (string value)
1271# Allowed values: demand, never, allow
1272#tls_req_cert = demand
1273
1274# Enable LDAP connection pooling. (boolean value)
1275#use_pool = false
1276
1277# Connection pool size. (integer value)
1278#pool_size = 10
1279
1280# Maximum count of reconnect trials. (integer value)
1281#pool_retry_max = 3
1282
1283# Time span in seconds to wait between two reconnect trials. (floating point
1284# value)
1285#pool_retry_delay = 0.1
1286
1287# Connector timeout in seconds. Value -1 indicates indefinite wait for
1288# response. (integer value)
1289#pool_connection_timeout = -1
1290
1291# Connection lifetime in seconds. (integer value)
1292#pool_connection_lifetime = 600
1293
1294# Enable LDAP connection pooling for end user authentication. If use_pool is
1295# disabled, then this setting is meaningless and is not used at all. (boolean
1296# value)
1297#use_auth_pool = false
1298
1299# End user auth connection pool size. (integer value)
1300#auth_pool_size = 100
1301
1302# End user auth connection lifetime in seconds. (integer value)
1303#auth_pool_connection_lifetime = 60
1304
1305
1306[matchmaker_redis]
1307
1308#
1309# From oslo.messaging
1310#
1311
1312# Host to locate redis. (string value)
1313#host = 127.0.0.1
1314
1315# Use this port to connect to redis host. (integer value)
1316#port = 6379
1317
1318# Password for Redis server (optional). (string value)
1319#password = <None>
1320
1321
1322[matchmaker_ring]
1323
1324#
1325# From oslo.messaging
1326#
1327
1328# Matchmaker ring file (JSON). (string value)
1329# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
1330#ringfile = /etc/oslo/matchmaker_ring.json
1331
1332
1333[memcache]
1334
1335#
1336# From keystone
1337#
1338
1339# Memcache servers in the format of "host:port". (list value)
1340#servers = localhost:11211
1341{%- if server.cache is defined %}
1342{%- if server.cache.members is defined %}
1343servers = {%- for member in server.cache.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{%- endfor %}
1344{%- else %}
1345servers = ['{{ server.cache.host }}:{{ server.cache.port }}']
1346{%- endif %}
1347{%- endif %}
1348# Number of seconds memcached server is considered dead before it is tried
1349# again. This is used by the key value store system (e.g. token pooled
1350# memcached persistence backend). (integer value)
1351#dead_retry = 300
1352
1353# Timeout in seconds for every call to a server. This is used by the key value
1354# store system (e.g. token pooled memcached persistence backend). (integer
1355# value)
1356#socket_timeout = 3
1357
1358# Max total number of open connections to every memcached server. This is used
1359# by the key value store system (e.g. token pooled memcached persistence
1360# backend). (integer value)
1361#pool_maxsize = 10
1362
1363# Number of seconds a connection to memcached is held unused in the pool before
1364# it is closed. This is used by the key value store system (e.g. token pooled
1365# memcached persistence backend). (integer value)
1366#pool_unused_timeout = 60
1367
1368# Number of seconds that an operation will wait to get a memcache client
1369# connection. This is used by the key value store system (e.g. token pooled
1370# memcached persistence backend). (integer value)
1371#pool_connection_get_timeout = 10
1372
1373
1374[oauth1]
1375
1376#
1377# From keystone
1378#
1379
1380# Entrypoint for hte OAuth backend driver in the keystone.oauth1 namespace.
1381# (string value)
1382#driver = sql
1383
1384# Duration (in seconds) for the OAuth Request Token. (integer value)
1385#request_token_duration = 28800
1386
1387# Duration (in seconds) for the OAuth Access Token. (integer value)
1388#access_token_duration = 86400
1389
1390
1391[os_inherit]
1392
1393#
1394# From keystone
1395#
1396
1397# role-assignment inheritance to projects from owning domain or from projects
1398# higher in the hierarchy can be optionally enabled. (boolean value)
1399#enabled = false
1400
1401
1402[oslo_messaging_amqp]
1403
1404#
1405# From oslo.messaging
1406#
1407
1408# address prefix used when sending to a specific server (string value)
1409# Deprecated group/name - [amqp1]/server_request_prefix
1410#server_request_prefix = exclusive
1411
1412# address prefix used when broadcasting to all servers (string value)
1413# Deprecated group/name - [amqp1]/broadcast_prefix
1414#broadcast_prefix = broadcast
1415
1416# address prefix when sending to any server in group (string value)
1417# Deprecated group/name - [amqp1]/group_request_prefix
1418#group_request_prefix = unicast
1419
1420# Name for the AMQP container (string value)
1421# Deprecated group/name - [amqp1]/container_name
1422#container_name = <None>
1423
1424# Timeout for inactive connections (in seconds) (integer value)
1425# Deprecated group/name - [amqp1]/idle_timeout
1426#idle_timeout = 0
1427
1428# Debug: dump AMQP frames to stdout (boolean value)
1429# Deprecated group/name - [amqp1]/trace
1430#trace = false
1431
1432# CA certificate PEM file to verify server certificate (string value)
1433# Deprecated group/name - [amqp1]/ssl_ca_file
1434#ssl_ca_file =
1435
1436# Identifying certificate PEM file to present to clients (string value)
1437# Deprecated group/name - [amqp1]/ssl_cert_file
1438#ssl_cert_file =
1439
1440# Private key PEM file used to sign cert_file certificate (string value)
1441# Deprecated group/name - [amqp1]/ssl_key_file
1442#ssl_key_file =
1443
1444# Password for decrypting ssl_key_file (if encrypted) (string value)
1445# Deprecated group/name - [amqp1]/ssl_key_password
1446#ssl_key_password = <None>
1447
1448# Accept clients using either SSL or plain TCP (boolean value)
1449# Deprecated group/name - [amqp1]/allow_insecure_clients
1450#allow_insecure_clients = false
1451
1452
1453[oslo_messaging_qpid]
1454
1455#
1456# From oslo.messaging
1457#
1458
1459# Use durable queues in AMQP. (boolean value)
1460# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1461# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1462#amqp_durable_queues = false
1463
1464# Auto-delete queues in AMQP. (boolean value)
1465# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1466#amqp_auto_delete = false
1467
1468# Send a single AMQP reply to call message. The current behaviour since oslo-
1469# incubator is to send two AMQP replies - first one with the payload, a second
1470# one to ensure the other have finish to send the payload. We are going to
1471# remove it in the N release, but we must keep backward compatible at the same
1472# time. This option provides such compatibility - it defaults to False in
1473# Liberty and can be turned on for early adopters with a new installations or
1474# for testing. Please note, that this option will be removed in the Mitaka
1475# release. (boolean value)
1476#send_single_reply = false
1477
1478# Qpid broker hostname. (string value)
1479# Deprecated group/name - [DEFAULT]/qpid_hostname
1480#qpid_hostname = localhost
1481
1482# Qpid broker port. (integer value)
1483# Deprecated group/name - [DEFAULT]/qpid_port
1484#qpid_port = 5672
1485
1486# Qpid HA cluster host:port pairs. (list value)
1487# Deprecated group/name - [DEFAULT]/qpid_hosts
1488#qpid_hosts = $qpid_hostname:$qpid_port
1489
1490# Username for Qpid connection. (string value)
1491# Deprecated group/name - [DEFAULT]/qpid_username
1492#qpid_username =
1493
1494# Password for Qpid connection. (string value)
1495# Deprecated group/name - [DEFAULT]/qpid_password
1496#qpid_password =
1497
1498# Space separated list of SASL mechanisms to use for auth. (string value)
1499# Deprecated group/name - [DEFAULT]/qpid_sasl_mechanisms
1500#qpid_sasl_mechanisms =
1501
1502# Seconds between connection keepalive heartbeats. (integer value)
1503# Deprecated group/name - [DEFAULT]/qpid_heartbeat
1504#qpid_heartbeat = 60
1505
1506# Transport to use, either 'tcp' or 'ssl'. (string value)
1507# Deprecated group/name - [DEFAULT]/qpid_protocol
1508#qpid_protocol = tcp
1509
1510# Whether to disable the Nagle algorithm. (boolean value)
1511# Deprecated group/name - [DEFAULT]/qpid_tcp_nodelay
1512#qpid_tcp_nodelay = true
1513
1514# The number of prefetched messages held by receiver. (integer value)
1515# Deprecated group/name - [DEFAULT]/qpid_receiver_capacity
1516#qpid_receiver_capacity = 1
1517
1518# The qpid topology version to use. Version 1 is what was originally used by
1519# impl_qpid. Version 2 includes some backwards-incompatible changes that allow
1520# broker federation to work. Users should update to version 2 when they are
1521# able to take everything down, as it requires a clean break. (integer value)
1522# Deprecated group/name - [DEFAULT]/qpid_topology_version
1523#qpid_topology_version = 1
1524
1525
1526[oslo_messaging_rabbit]
1527
1528#
1529# From oslo.messaging
1530#
1531
1532# Use durable queues in AMQP. (boolean value)
1533# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1534# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1535#amqp_durable_queues = false
1536
1537# Auto-delete queues in AMQP. (boolean value)
1538# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1539#amqp_auto_delete = false
1540
1541# Send a single AMQP reply to call message. The current behaviour since oslo-
1542# incubator is to send two AMQP replies - first one with the payload, a second
1543# one to ensure the other have finish to send the payload. We are going to
1544# remove it in the N release, but we must keep backward compatible at the same
1545# time. This option provides such compatibility - it defaults to False in
1546# Liberty and can be turned on for early adopters with a new installations or
1547# for testing. Please note, that this option will be removed in the Mitaka
1548# release. (boolean value)
1549#send_single_reply = false
1550
1551# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1552# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1553# distributions. (string value)
1554# Deprecated group/name - [DEFAULT]/kombu_ssl_version
1555#kombu_ssl_version =
1556
1557# SSL key file (valid only if SSL enabled). (string value)
1558# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
1559#kombu_ssl_keyfile =
1560
1561# SSL cert file (valid only if SSL enabled). (string value)
1562# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
1563#kombu_ssl_certfile =
1564
1565# SSL certification authority file (valid only if SSL enabled). (string value)
1566# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
1567#kombu_ssl_ca_certs =
1568
1569# How long to wait before reconnecting in response to an AMQP consumer cancel
1570# notification. (floating point value)
1571# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
1572#kombu_reconnect_delay = 1.0
1573
1574# How long to wait before considering a reconnect attempt to have failed. This
1575# value should not be longer than rpc_response_timeout. (integer value)
1576#kombu_reconnect_timeout = 60
1577
1578# The RabbitMQ broker address where a single node is used. (string value)
1579# Deprecated group/name - [DEFAULT]/rabbit_host
1580#rabbit_host = localhost
1581
1582# The RabbitMQ broker port where a single node is used. (integer value)
1583# Deprecated group/name - [DEFAULT]/rabbit_port
1584#rabbit_port = 5672
1585
1586# RabbitMQ HA cluster host:port pairs. (list value)
1587# Deprecated group/name - [DEFAULT]/rabbit_hosts
1588#rabbit_hosts = $rabbit_host:$rabbit_port
1589
1590# Connect over SSL for RabbitMQ. (boolean value)
1591# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
1592#rabbit_use_ssl = false
1593
1594# The RabbitMQ userid. (string value)
1595# Deprecated group/name - [DEFAULT]/rabbit_userid
1596#rabbit_userid = guest
1597
1598# The RabbitMQ password. (string value)
1599# Deprecated group/name - [DEFAULT]/rabbit_password
1600#rabbit_password = guest
1601
1602# The RabbitMQ login method. (string value)
1603# Deprecated group/name - [DEFAULT]/rabbit_login_method
1604#rabbit_login_method = AMQPLAIN
1605
1606# The RabbitMQ virtual host. (string value)
1607# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
1608#rabbit_virtual_host = /
1609
1610# How frequently to retry connecting with RabbitMQ. (integer value)
1611#rabbit_retry_interval = 1
1612
1613# How long to backoff for between retries when connecting to RabbitMQ. (integer
1614# value)
1615# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
1616#rabbit_retry_backoff = 2
1617
1618# Maximum number of RabbitMQ connection retries. Default is 0 (infinite retry
1619# count). (integer value)
1620# Deprecated group/name - [DEFAULT]/rabbit_max_retries
1621#rabbit_max_retries = 0
1622
1623# Use HA queues in RabbitMQ (x-ha-policy: all). If you change this option, you
1624# must wipe the RabbitMQ database. (boolean value)
1625# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
1626#rabbit_ha_queues = false
1627
1628# Number of seconds after which the Rabbit broker is considered down if
1629# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
1630# value)
1631#heartbeat_timeout_threshold = 60
1632
1633# How often times during the heartbeat_timeout_threshold we check the
1634# heartbeat. (integer value)
1635#heartbeat_rate = 2
1636
1637# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
1638# Deprecated group/name - [DEFAULT]/fake_rabbit
1639#fake_rabbit = false
1640
1641
1642[oslo_middleware]
1643
1644#
1645# From oslo.middleware
1646#
1647
1648# The maximum body size for each request, in bytes. (integer value)
1649# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
1650# Deprecated group/name - [DEFAULT]/max_request_body_size
1651#max_request_body_size = 114688
1652
1653#
1654# From oslo.middleware
1655#
1656
1657# The HTTP Header that will be used to determine what the original request
1658# protocol scheme was, even if it was hidden by an SSL termination proxy.
1659# (string value)
1660#secure_proxy_ssl_header = X-Forwarded-Proto
1661
1662
1663[oslo_policy]
1664
1665#
1666# From oslo.policy
1667#
1668
1669# The JSON file that defines policies. (string value)
1670# Deprecated group/name - [DEFAULT]/policy_file
1671#policy_file = policy.json
1672
1673# Default rule. Enforced when a requested rule is not found. (string value)
1674# Deprecated group/name - [DEFAULT]/policy_default_rule
1675#policy_default_rule = default
1676
1677# Directories where policy configuration files are stored. They can be relative
1678# to any directory in the search path defined by the config_dir option, or
1679# absolute paths. The file defined by policy_file must exist for these
1680# directories to be searched. Missing or empty directories are ignored. (multi
1681# valued)
1682# Deprecated group/name - [DEFAULT]/policy_dirs
1683# This option is deprecated for removal.
1684# Its value may be silently ignored in the future.
1685#policy_dirs = policy.d
1686
1687
1688[paste_deploy]
1689
1690#
1691# From keystone
1692#
1693
1694# Name of the paste configuration file that defines the available pipelines.
1695# (string value)
1696#config_file = keystone-paste.ini
1697
1698
1699[policy]
1700
1701#
1702# From keystone
1703#
1704
1705# Entrypoint for the policy backend driver in the keystone.policy namespace.
1706# Supplied drivers are rules and sql. (string value)
1707#driver = sql
1708
1709# Maximum number of entities that will be returned in a policy collection.
1710# (integer value)
1711#list_limit = <None>
1712
1713
1714[resource]
1715
1716#
1717# From keystone
1718#
1719
1720# Entrypoint for the resource backend driver in the keystone.resource
1721# namespace. Supplied drivers are ldap and sql. If a resource driver is not
1722# specified, the assignment driver will choose the resource driver. (string
1723# value)
1724#driver = <None>
1725
1726# Toggle for resource caching. This has no effect unless global caching is
1727# enabled. (boolean value)
1728# Deprecated group/name - [assignment]/caching
1729#caching = true
1730
1731# TTL (in seconds) to cache resource data. This has no effect unless global
1732# caching is enabled. (integer value)
1733# Deprecated group/name - [assignment]/cache_time
1734#cache_time = <None>
1735
1736# Maximum number of entities that will be returned in a resource collection.
1737# (integer value)
1738# Deprecated group/name - [assignment]/list_limit
1739#list_limit = <None>
1740
1741
1742[revoke]
1743
1744#
1745# From keystone
1746#
1747
1748# Entrypoint for an implementation of the backend for persisting revocation
1749# events in the keystone.revoke namespace. Supplied drivers are kvs and sql.
1750# (string value)
1751#driver = sql
1752
1753# This value (calculated in seconds) is added to token expiration before a
1754# revocation event may be removed from the backend. (integer value)
1755#expiration_buffer = 1800
1756
1757# Toggle for revocation event caching. This has no effect unless global caching
1758# is enabled. (boolean value)
1759#caching = true
1760
1761# Time to cache the revocation list and the revocation events (in seconds).
1762# This has no effect unless global and token caching are enabled. (integer
1763# value)
1764# Deprecated group/name - [token]/revocation_cache_time
1765#cache_time = 3600
1766
1767
1768[role]
1769
1770#
1771# From keystone
1772#
1773
1774# Entrypoint for the role backend driver in the keystone.role namespace.
1775# Supplied drivers are ldap and sql. (string value)
1776#driver = <None>
1777
1778# Toggle for role caching. This has no effect unless global caching is enabled.
1779# (boolean value)
1780#caching = true
1781
1782# TTL (in seconds) to cache role data. This has no effect unless global caching
1783# is enabled. (integer value)
1784#cache_time = <None>
1785
1786# Maximum number of entities that will be returned in a role collection.
1787# (integer value)
1788#list_limit = <None>
1789
1790
1791[saml]
1792
1793#
1794# From keystone
1795#
1796
1797# Default TTL, in seconds, for any generated SAML assertion created by
1798# Keystone. (integer value)
1799#assertion_expiration_time = 3600
1800
1801# Binary to be called for XML signing. Install the appropriate package, specify
1802# absolute path or adjust your PATH environment variable if the binary cannot
1803# be found. (string value)
1804#xmlsec1_binary = xmlsec1
1805
1806# Path of the certfile for SAML signing. For non-production environments, you
1807# may be interested in using `keystone-manage pki_setup` to generate self-
1808# signed certificates. Note, the path cannot contain a comma. (string value)
1809#certfile = /etc/keystone/ssl/certs/signing_cert.pem
1810
1811# Path of the keyfile for SAML signing. Note, the path cannot contain a comma.
1812# (string value)
1813#keyfile = /etc/keystone/ssl/private/signing_key.pem
1814
1815# Entity ID value for unique Identity Provider identification. Usually FQDN is
1816# set with a suffix. A value is required to generate IDP Metadata. For example:
1817# https://keystone.example.com/v3/OS-FEDERATION/saml2/idp (string value)
1818#idp_entity_id = <None>
1819
1820# Identity Provider Single-Sign-On service value, required in the Identity
1821# Provider's metadata. A value is required to generate IDP Metadata. For
1822# example: https://keystone.example.com/v3/OS-FEDERATION/saml2/sso (string
1823# value)
1824#idp_sso_endpoint = <None>
1825
1826# Language used by the organization. (string value)
1827#idp_lang = en
1828
1829# Organization name the installation belongs to. (string value)
1830#idp_organization_name = <None>
1831
1832# Organization name to be displayed. (string value)
1833#idp_organization_display_name = <None>
1834
1835# URL of the organization. (string value)
1836#idp_organization_url = <None>
1837
1838# Company of contact person. (string value)
1839#idp_contact_company = <None>
1840
1841# Given name of contact person (string value)
1842#idp_contact_name = <None>
1843
1844# Surname of contact person. (string value)
1845#idp_contact_surname = <None>
1846
1847# Email address of contact person. (string value)
1848#idp_contact_email = <None>
1849
1850# Telephone number of contact person. (string value)
1851#idp_contact_telephone = <None>
1852
1853# The contact type describing the main point of contact for the identity
1854# provider. (string value)
1855# Allowed values: technical, support, administrative, billing, other
1856#idp_contact_type = other
1857
1858# Path to the Identity Provider Metadata file. This file should be generated
1859# with the keystone-manage saml_idp_metadata command. (string value)
1860#idp_metadata_path = /etc/keystone/saml2_idp_metadata.xml
1861
1862# The prefix to use for the RelayState SAML attribute, used when generating ECP
1863# wrapped assertions. (string value)
1864#relay_state_prefix = ss:mem:
1865
1866
1867[signing]
1868
1869#
1870# From keystone
1871#
1872
1873# Path of the certfile for token signing. For non-production environments, you
1874# may be interested in using `keystone-manage pki_setup` to generate self-
1875# signed certificates. (string value)
1876#certfile = /etc/keystone/ssl/certs/signing_cert.pem
1877
1878# Path of the keyfile for token signing. (string value)
1879#keyfile = /etc/keystone/ssl/private/signing_key.pem
1880
1881# Path of the CA for token signing. (string value)
1882#ca_certs = /etc/keystone/ssl/certs/ca.pem
1883
1884# Path of the CA key for token signing. (string value)
1885#ca_key = /etc/keystone/ssl/private/cakey.pem
1886
1887# Key size (in bits) for token signing cert (auto generated certificate).
1888# (integer value)
1889# Minimum value: 1024
1890#key_size = 2048
1891
1892# Days the token signing cert is valid for (auto generated certificate).
1893# (integer value)
1894#valid_days = 3650
1895
1896# Certificate subject (auto generated certificate) for token signing. (string
1897# value)
1898#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
1899
1900
1901[ssl]
1902
1903#
1904# From keystone
1905#
1906
1907# Path of the CA key file for SSL. (string value)
1908#ca_key = /etc/keystone/ssl/private/cakey.pem
1909
1910# SSL key length (in bits) (auto generated certificate). (integer value)
1911# Minimum value: 1024
1912#key_size = 1024
1913
1914# Days the certificate is valid for once signed (auto generated certificate).
1915# (integer value)
1916#valid_days = 3650
1917
1918# SSL certificate subject (auto generated certificate). (string value)
1919#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=localhost
1920
1921
1922[token]
1923
1924#
1925# From keystone
1926#
1927
1928# External auth mechanisms that should add bind information to token, e.g.,
1929# kerberos,x509. (list value)
1930#bind =
1931
1932# Enforcement policy on tokens presented to Keystone with bind information. One
1933# of disabled, permissive, strict, required or a specifically required bind
1934# mode, e.g., kerberos or x509 to require binding to that authentication.
1935# (string value)
1936#enforce_token_bind = permissive
1937
1938# Amount of time a token should remain valid (in seconds). (integer value)
1939#expiration = 3600
1940
1941# Controls the token construction, validation, and revocation operations.
1942# Entrypoint in the keystone.token.provider namespace. Core providers are
1943# [fernet|pkiz|pki|uuid]. (string value)
1944#provider = uuid
1945#expiration = 3600
1946expiration = 43200
1947# Controls the token construction, validation, and revocation operations. Core
1948# providers are "keystone.token.providers.[fernet|pkiz|pki|uuid].Provider".
1949# (string value)
1950#provider = keystone.token.providers.uuid.Provider
1951{% if server.tokens.engine == 'fernet' %}
1952provider = keystone.token.providers.fernet.Provider
1953{% endif %}
1954
1955#driver=keystone.token.persistence.backends.memcache_pool.Token
1956
1957# Entrypoint for the token persistence backend driver in the
1958# keystone.token.persistence namespace. Supplied drivers are kvs, memcache,
1959# memcache_pool, and sql. (string value)
1960driver = memcache_pool
1961
1962# Toggle for token system caching. This has no effect unless global caching is
1963# enabled. (boolean value)
1964#caching = true
1965
1966# Time to cache tokens (in seconds). This has no effect unless global and token
1967# caching are enabled. (integer value)
1968#cache_time = <None>
1969
1970# Revoke token by token identifier. Setting revoke_by_id to true enables
1971# various forms of enumerating tokens, e.g. `list tokens for user`. These
1972# enumerations are processed to determine the list of tokens to revoke. Only
1973# disable if you are switching to using the Revoke extension with a backend
1974# other than KVS, which stores events in memory. (boolean value)
1975#revoke_by_id = true
1976
1977# Allow rescoping of scoped token. Setting allow_rescoped_scoped_token to false
1978# prevents a user from exchanging a scoped token for any other token. (boolean
1979# value)
1980#allow_rescope_scoped_token = true
1981
1982# The hash algorithm to use for PKI tokens. This can be set to any algorithm
1983# that hashlib supports. WARNING: Before changing this value, the auth_token
1984# middleware must be configured with the hash_algorithms, otherwise token
1985# revocation will not be processed correctly. (string value)
1986#hash_algorithm = md5
1987
1988
1989[tokenless_auth]
1990
1991#
1992# From keystone
1993#
1994
1995# The list of trusted issuers to further filter the certificates that are
1996# allowed to participate in the X.509 tokenless authorization. If the option is
1997# absent then no certificates will be allowed. The naming format for the
1998# attributes of a Distinguished Name(DN) must be separated by a comma and
1999# contain no spaces. This configuration option may be repeated for multiple
2000# values. For example: trusted_issuer=CN=john,OU=keystone,O=openstack
2001# trusted_issuer=CN=mary,OU=eng,O=abc (multi valued)
2002#trusted_issuer =
2003
2004# The protocol name for the X.509 tokenless authorization along with the option
2005# issuer_attribute below can look up its corresponding mapping. (string value)
2006#protocol = x509
2007
2008# The issuer attribute that is served as an IdP ID for the X.509 tokenless
2009# authorization along with the protocol to look up its corresponding mapping.
2010# It is the environment variable in the WSGI environment that references to the
2011# issuer of the client certificate. (string value)
2012#issuer_attribute = SSL_CLIENT_I_DN
2013
2014
2015[trust]
2016
2017#
2018# From keystone
2019#
2020
2021# Delegation and impersonation features can be optionally disabled. (boolean
2022# value)
2023#enabled = true
2024
2025# Enable redelegation feature. (boolean value)
2026#allow_redelegation = false
2027
2028# Maximum depth of trust redelegation. (integer value)
2029#max_redelegation_count = 3
2030
2031# Entrypoint for the trust backend driver in the keystone.trust namespace.
2032# (string value)
2033#driver = sql
2034
2035[extra_headers]
2036Distribution = Ubuntu