summaryrefslogtreecommitdiffstats
path: root/gluster-s3object/CentOS/docker-gluster-s3/etc
diff options
context:
space:
mode:
authorvenkata edara <redara@redhat.com>2017-07-31 16:17:49 +0530
committervenkata edara <redara@redhat.com>2017-07-31 16:30:45 +0530
commitf8cde44e7c5a1a42a24e9993f4ebc088082a1deb (patch)
tree99f32d10e60b28430c53fbe1c81ac219fa0f4657 /gluster-s3object/CentOS/docker-gluster-s3/etc
parent4757dd977452d15baae91d46a7895cd3d5b7863e (diff)
downloadgluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.gz
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.bz2
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.xz
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.zip
Added S3 authentication changes
changed the proxy-server.conf to enable authentication and scripts to add user Signed-off-by: venkata edara <redara@redhat.com>
Diffstat (limited to 'gluster-s3object/CentOS/docker-gluster-s3/etc')
-rw-r--r--gluster-s3object/CentOS/docker-gluster-s3/etc/swift/proxy-server.conf9
-rw-r--r--gluster-s3object/CentOS/docker-gluster-s3/etc/sysconfig/swift-volumes2
2 files changed, 10 insertions, 1 deletions
diff --git a/gluster-s3object/CentOS/docker-gluster-s3/etc/swift/proxy-server.conf b/gluster-s3object/CentOS/docker-gluster-s3/etc/swift/proxy-server.conf
index 979b735..8e6ecc5 100644
--- a/gluster-s3object/CentOS/docker-gluster-s3/etc/swift/proxy-server.conf
+++ b/gluster-s3object/CentOS/docker-gluster-s3/etc/swift/proxy-server.conf
@@ -5,7 +5,7 @@ user = root
workers = 1
[pipeline:main]
-pipeline = catch_errors gatekeeper healthcheck proxy-logging cache bulk ratelimit swift3 staticweb slo dlo proxy-logging proxy-server
+pipeline = catch_errors gatekeeper healthcheck proxy-logging cache bulk ratelimit swift3 gswauth staticweb slo dlo proxy-logging proxy-server
[app:proxy-server]
use = egg:gluster_swift#proxy
@@ -97,3 +97,10 @@ user_test5_tester5 = testing5 service
[filter:swift3]
use = egg:swift3#swift3
+
+[filter:gswauth]
+use = egg:gluster_swift#gswauth
+set log_name = gswauth
+super_admin_key = gswauthkey
+metadata_volume = gsmetadata
+s3_support = on
diff --git a/gluster-s3object/CentOS/docker-gluster-s3/etc/sysconfig/swift-volumes b/gluster-s3object/CentOS/docker-gluster-s3/etc/sysconfig/swift-volumes
index 8b49f07..3aeb7ec 100644
--- a/gluster-s3object/CentOS/docker-gluster-s3/etc/sysconfig/swift-volumes
+++ b/gluster-s3object/CentOS/docker-gluster-s3/etc/sysconfig/swift-volumes
@@ -1,2 +1,4 @@
# Set Gluster volumes to be used by gluster-object service
GLUSTER_VOLUMES="tv1"
+GLUSTER_USER="admin"
+GLUSTER_PASSWORD="redhat"