~niedbalski/charms/trusty/keystone/fix-lp-1308557

« back to all changes in this revision

Viewing changes to templates/havana/etc_keystone_keystone.conf

  • Committer: Ante Karamatic
  • Date: 2014-02-25 12:29:18 UTC
  • Revision ID: ivoks@ubuntu.com-20140225122918-sq2n9p4k7366r56e
Revert to last stable version. Last three commits were not ready to be merged.

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
 
[sql]
13
 
{% if database_host -%}
14
 
connection = mysql://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}
15
 
{% else -%}
16
 
connection = sqlite:////var/lib/keystone/keystone.db
17
 
{% endif -%}
18
 
idle_timeout = 200
19
 
 
20
 
[identity]
21
 
driver = keystone.identity.backends.sql.Identity
22
 
 
23
 
[credential]
24
 
driver = keystone.credential.backends.sql.Credential
25
 
 
26
 
[trust]
27
 
driver = keystone.trust.backends.sql.Trust
28
 
 
29
 
[os_inherit]
30
 
 
31
 
[catalog]
32
 
driver = keystone.catalog.backends.sql.Catalog
33
 
 
34
 
[endpoint_filter]
35
 
 
36
 
[token]
37
 
driver = keystone.token.backends.sql.Token
38
 
expiration = 86400
39
 
 
40
 
[cache]
41
 
 
42
 
[policy]
43
 
driver = keystone.policy.backends.rules.Policy
44
 
 
45
 
[ec2]
46
 
driver = keystone.contrib.ec2.backends.kvs.Ec2
47
 
 
48
 
[assignment]
49
 
 
50
 
[oauth1]
51
 
 
52
 
{% if signing -%}
53
 
[signing]
54
 
token_format = UUID
55
 
certfile = /etc/keystone/ssl/certs/signing_cert.pem
56
 
keyfile = /etc/keystone/ssl/private/signing_key.pem
57
 
ca_certs = /etc/keystone/ssl/certs/ca.pem
58
 
key_size = 1024
59
 
valid_days = 3650
60
 
ca_password = None
61
 
{% endif -%}
62
 
 
63
 
[auth]
64
 
methods = external,password,token,oauth1
65
 
password = keystone.auth.plugins.password.Password
66
 
token = keystone.auth.plugins.token.Token
67
 
oauth1 = keystone.auth.plugins.oauth1.OAuth
68
 
 
69
 
[paste_deploy]
70
 
config_file = keystone-paste.ini