blob: 84bf9cd504858d16e82ff4164f812c050ea0bacb [file] [log] [blame]
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01001[DEFAULT]
2bind_port = 8080
Chmouel Boudjnah88d54992011-11-02 01:10:38 +01003user = %USER%
Dean Troyer1e51c112012-03-16 10:42:00 -05004swift_dir = %SWIFT_CONFIG_DIR%
Chmouel Boudjnah769eb1c2011-11-22 13:04:40 +01005workers = 1
6log_name = swift
7log_facility = LOG_LOCAL1
8log_level = DEBUG
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01009
10[pipeline:main]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000011pipeline = healthcheck cache swift3 %AUTH_SERVER% proxy-server
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010012
13[app:proxy-server]
14use = egg:swift#proxy
15allow_account_management = true
Chmouel Boudjnahd5651bb2011-11-01 16:22:08 +010016account_autocreate = true
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010017
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010018[filter:keystone]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000019paste.filter_factory = keystone.middleware.swift_auth:filter_factory
20operator_roles = Member,admin
21
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000022# NOTE(chmou): s3token middleware is not updated yet to use only
23# username and password.
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000024[filter:s3token]
25paste.filter_factory = keystone.middleware.s3_token:filter_factory
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000026auth_port = %KEYSTONE_AUTH_PORT%
27auth_host = %KEYSTONE_AUTH_HOST%
28auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
29auth_token = %SERVICE_TOKEN%
30admin_token = %SERVICE_TOKEN%
31
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000032[filter:authtoken]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000033paste.filter_factory = keystone.middleware.auth_token:filter_factory
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000034auth_host = %KEYSTONE_AUTH_HOST%
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000035auth_port = %KEYSTONE_AUTH_PORT%
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000036auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000037auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
Dean Troyerb3288382012-02-28 16:41:10 -060038admin_tenant_name = %SERVICE_TENANT_NAME%
39admin_user = %SERVICE_USERNAME%
40admin_password = %SERVICE_PASSWORD%
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000041
42[filter:swift3]
Joe Gordon42b1aa92012-05-24 14:11:01 -070043use = egg:swift3#middleware
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010044
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010045[filter:tempauth]
46use = egg:swift#tempauth
47user_admin_admin = admin .admin .reseller_admin
48user_test_tester = testing .admin
49user_test2_tester2 = testing2 .admin
50user_test_tester3 = testing3
Chmouel Boudjnaha2cd8412011-11-01 12:36:10 +010051bind_ip = 0.0.0.0
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010052
53[filter:healthcheck]
54use = egg:swift#healthcheck
55
56[filter:cache]
57use = egg:swift#memcache