2013-03-05 18:38:07 +00:00
|
|
|
[DEFAULT]
|
2013-02-21 05:48:53 +00:00
|
|
|
admin_token = {{admin-token}}
|
|
|
|
|
|
|
|
debug = True
|
2013-03-05 18:38:07 +00:00
|
|
|
|
|
|
|
[sql]
|
2013-02-21 05:48:53 +00:00
|
|
|
connection = {{keystone.db}}
|
2013-03-05 18:38:07 +00:00
|
|
|
|
|
|
|
[identity]
|
2013-02-21 05:48:53 +00:00
|
|
|
driver = keystone.identity.backends.sql.Identity
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[catalog]
|
2013-02-21 05:48:53 +00:00
|
|
|
driver = keystone.catalog.backends.sql.Catalog
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[token]
|
2013-02-21 05:48:53 +00:00
|
|
|
driver = keystone.token.backends.kvs.Token
|
|
|
|
|
|
|
|
# Amount of time a token should remain valid (in seconds)
|
|
|
|
# expiration = 86400
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[policy]
|
2013-02-21 05:48:53 +00:00
|
|
|
# driver = keystone.policy.backends.sql.Policy
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[ec2]
|
2013-02-21 05:48:53 +00:00
|
|
|
# driver = keystone.contrib.ec2.backends.kvs.Ec2
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[ssl]
|
2013-02-21 05:48:53 +00:00
|
|
|
#enable = True
|
|
|
|
#certfile = /etc/keystone/ssl/certs/keystone.pem
|
|
|
|
#keyfile = /etc/keystone/ssl/private/keystonekey.pem
|
|
|
|
#ca_certs = /etc/keystone/ssl/certs/ca.pem
|
|
|
|
#cert_required = True
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[signing]
|
2013-02-21 05:48:53 +00:00
|
|
|
#token_format = PKI
|
|
|
|
#certfile = /etc/keystone/ssl/certs/signing_cert.pem
|
|
|
|
#keyfile = /etc/keystone/ssl/private/signing_key.pem
|
|
|
|
#ca_certs = /etc/keystone/ssl/certs/ca.pem
|
|
|
|
#key_size = 1024
|
|
|
|
#valid_days = 3650
|
|
|
|
#ca_password = None
|
|
|
|
|
2013-03-05 18:38:07 +00:00
|
|
|
[ldap]
|
|
|
|
|
|
|
|
[filter:debug]
|
|
|
|
paste.filter_factory = keystone.common.wsgi:Debug.factory
|
|
|
|
|
|
|
|
[filter:token_auth]
|
|
|
|
paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
|
|
|
|
|
|
|
|
[filter:admin_token_auth]
|
|
|
|
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
|
|
|
|
|
|
|
|
[filter:xml_body]
|
|
|
|
paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
|
|
|
|
|
|
|
|
[filter:json_body]
|
|
|
|
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
|
|
|
|
|
|
|
|
[filter:user_crud_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory
|
|
|
|
|
|
|
|
[filter:crud_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
|
|
|
|
|
|
|
|
[filter:ec2_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
|
|
|
|
|
|
|
|
[filter:s3_extension]
|
|
|
|
paste.filter_factory = keystone.contrib.s3:S3Extension.factory
|
|
|
|
|
|
|
|
[filter:url_normalize]
|
|
|
|
paste.filter_factory = keystone.middleware:NormalizingFilter.factory
|
|
|
|
|
|
|
|
[filter:sizelimit]
|
|
|
|
paste.filter_factory = keystone.middleware:RequestBodySizeLimiter.factory
|
|
|
|
|
|
|
|
[filter:stats_monitoring]
|
|
|
|
paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
|
|
|
|
|
|
|
|
[filter:stats_reporting]
|
|
|
|
paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
|
|
|
|
|
|
|
|
[app:public_service]
|
|
|
|
paste.app_factory = keystone.service:public_app_factory
|
|
|
|
|
|
|
|
[app:service_v3]
|
|
|
|
paste.app_factory = keystone.service:v3_app_factory
|
|
|
|
|
|
|
|
[app:admin_service]
|
|
|
|
paste.app_factory = keystone.service:admin_app_factory
|
|
|
|
|
|
|
|
[pipeline:public_api]
|
|
|
|
pipeline = sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug ec2_extension user_crud_extension public_service
|
|
|
|
|
|
|
|
[pipeline:admin_api]
|
|
|
|
pipeline = sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension crud_extension admin_service
|
|
|
|
|
|
|
|
[pipeline:api_v3]
|
|
|
|
pipeline = sizelimit stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension service_v3
|
|
|
|
|
|
|
|
[app:public_version_service]
|
|
|
|
paste.app_factory = keystone.service:public_version_app_factory
|
|
|
|
|
|
|
|
[app:admin_version_service]
|
|
|
|
paste.app_factory = keystone.service:admin_version_app_factory
|
|
|
|
|
|
|
|
[pipeline:public_version_api]
|
|
|
|
pipeline = sizelimit stats_monitoring url_normalize xml_body public_version_service
|
|
|
|
|
|
|
|
[pipeline:admin_version_api]
|
|
|
|
pipeline = sizelimit stats_monitoring url_normalize xml_body admin_version_service
|
|
|
|
|
|
|
|
[composite:main]
|
|
|
|
use = egg:Paste#urlmap
|
|
|
|
/v2.0 = public_api
|
|
|
|
/v3 = api_v3
|
|
|
|
/ = public_version_api
|
|
|
|
|
|
|
|
[composite:admin]
|
|
|
|
use = egg:Paste#urlmap
|
|
|
|
/v2.0 = admin_api
|
|
|
|
/v3 = api_v3
|
|
|
|
/ = admin_version_api
|