From 5e1a67cb0df632ef1e398f43442cfd825fd9c8e1 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 2 Feb 2013 14:33:52 +0900 Subject: [PATCH] Update README about keystone usage Signed-off-by: FUJITA Tomonori --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index f23bd13a..7923668f 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Install 2) Alter your proxy-server.conf pipeline to have swift3: +If you use tempauth: + Was:: [pipeline:main] @@ -23,8 +25,27 @@ Install [pipeline:main] pipeline = catch_errors cache swift3 tempauth proxy-server +If you use keystone: + + Was:: + + [pipeline:main] + pipeline = catch_errors cache authtoken keystone proxy-server + + Change To:: + + [pipeline:main] + pipeline = catch_errors cache swift3 s3token authtoken keystone proxy-server + 3) Add to your proxy-server.conf the section for the Swift3 WSGI filter:: [filter:swift3] use = egg:swift3#swift3 +You also need to add the following if you use keystone (adjust port, host, protocol configurations for your environment): + + [filter:s3token] + paste.filter_factory = keystone.middleware.s3_token:filter_factory + auth_port = 35357 + auth_host = 127.0.0.1 + auth_protocol = http