~corey.bryant/charms/trusty/keystone/python-six

« back to all changes in this revision

Viewing changes to templates/havana/keystone.conf

  • Committer: James Page
  • Date: 2014-03-27 10:54:38 UTC
  • mfrom: (55.1.22 keystone)
  • mto: (52.4.7 keystone)
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: james.page@canonical.com-20140327105438-oid8czi9ud51iut1
Merge ssl-everywhere branch (may break stuff)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# havana
 
2
###############################################################################
 
3
# [ WARNING ]
 
4
# Configuration file maintained by Juju. Local changes may be overwritten.
 
5
###############################################################################
 
6
[DEFAULT]
 
7
admin_token = {{ token }}
 
8
admin_port = {{ admin_port }}
 
9
public_port = {{ public_port }}
 
10
use_syslog = {{ use_syslog }}
 
11
log_config = /etc/keystone/logging.conf
 
12
debug = {{ debug }}
 
13
verbose = {{ verbose }}
 
14
 
 
15
[sql]
 
16
{% if database_host -%}
 
17
connection = mysql://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
 
18
{% else -%}
 
19
connection = sqlite:////var/lib/keystone/keystone.db
 
20
{% endif -%}
 
21
idle_timeout = 200
 
22
 
 
23
[identity]
 
24
driver = keystone.identity.backends.sql.Identity
 
25
 
 
26
[credential]
 
27
driver = keystone.credential.backends.sql.Credential
 
28
 
 
29
[trust]
 
30
driver = keystone.trust.backends.sql.Trust
 
31
 
 
32
[os_inherit]
 
33
 
 
34
[catalog]
 
35
driver = keystone.catalog.backends.sql.Catalog
 
36
 
 
37
[endpoint_filter]
 
38
 
 
39
[token]
 
40
driver = keystone.token.backends.sql.Token
 
41
expiration = 86400
 
42
 
 
43
[cache]
 
44
 
 
45
[policy]
 
46
driver = keystone.policy.backends.rules.Policy
 
47
 
 
48
[ec2]
 
49
driver = keystone.contrib.ec2.backends.kvs.Ec2
 
50
 
 
51
[assignment]
 
52
 
 
53
[oauth1]
 
54
 
 
55
{% if signing -%}
 
56
[signing]
 
57
token_format = UUID
 
58
certfile = /etc/keystone/ssl/certs/signing_cert.pem
 
59
keyfile = /etc/keystone/ssl/private/signing_key.pem
 
60
ca_certs = /etc/keystone/ssl/certs/ca.pem
 
61
key_size = 1024
 
62
valid_days = 3650
 
63
ca_password = None
 
64
{% endif -%}
 
65
 
 
66
[auth]
 
67
methods = external,password,token,oauth1
 
68
password = keystone.auth.plugins.password.Password
 
69
token = keystone.auth.plugins.token.Token
 
70
oauth1 = keystone.auth.plugins.oauth1.OAuth
 
71
 
 
72
[paste_deploy]
 
73
config_file = keystone-paste.ini