Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 1 | [DEFAULT] |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 2 | public_port = 5000 |
| 3 | admin_port = 35357 |
| 4 | admin_token = %SERVICE_TOKEN% |
Anthony Young | e8fed48 | 2011-09-26 19:50:43 -0700 | [diff] [blame] | 5 | log_file = %DEST%/keystone/keystone.log |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 6 | |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 7 | [sql] |
| 8 | connection = %SQL_CONN% |
| 9 | idle_timeout = 30 |
| 10 | min_pool_size = 5 |
| 11 | max_pool_size = 10 |
| 12 | pool_timeout = 200 |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 13 | |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 14 | [identity] |
| 15 | driver = keystone.backends.sql.SqlIdentity |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 16 | |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 17 | [catalog] |
| 18 | driver = keystone.backends.templated.TemplatedCatalog |
termie | 50edca6 | 2012-01-11 02:04:39 +0000 | [diff] [blame^] | 19 | template_file = %KEYSTONE_DIR%/etc/default_catalog.templates |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 20 | |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 21 | [token] |
| 22 | driver = keystone.backends.kvs.KvsToken |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 23 | |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 24 | [policy] |
| 25 | driver = keystone.backends.policy.SimpleMatch |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 26 | |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 27 | [filter:debug] |
termie | a96a418 | 2012-01-09 22:13:29 -0800 | [diff] [blame] | 28 | paste.filter_factory = keystone.wsgi:Debug.factory |
| 29 | |
| 30 | [filter:token_auth] |
| 31 | paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory |
| 32 | |
| 33 | [filter:admin_token_auth] |
| 34 | paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory |
| 35 | |
| 36 | [filter:json_body] |
| 37 | paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory |
| 38 | |
| 39 | [filter:crud_extension] |
| 40 | paste.filter_factory = keystone.service:AdminCrudExtension.factory |
| 41 | |
| 42 | |
| 43 | [app:public_service] |
| 44 | paste.app_factory = keystone.service:public_app_factory |
| 45 | |
| 46 | [app:admin_service] |
| 47 | paste.app_factory = keystone.service:admin_app_factory |
| 48 | |
| 49 | [pipeline:public_api] |
| 50 | pipeline = token_auth admin_token_auth json_body debug public_service |
| 51 | |
| 52 | [pipeline:admin_api] |
| 53 | pipeline = token_auth admin_token_auth json_body debug crud_extension admin_service |
| 54 | |
| 55 | [composite:main] |
| 56 | use = egg:Paste#urlmap |
| 57 | /v2.0 = public_api |
| 58 | |
| 59 | [composite:admin] |
| 60 | use = egg:Paste#urlmap |
| 61 | /v2.0 = admin_api |