diff --git a/test/vectors/run_test.sh b/test/vectors/run_test.sh index 5de199f032..cb2d72c7b3 100755 --- a/test/vectors/run_test.sh +++ b/test/vectors/run_test.sh @@ -19,6 +19,7 @@ PIDS+=($!) ./weed s3 \ -filer 127.0.0.1:8888 \ + -config s3.json \ -ip 127.0.0.1 \ -ip.bind 127.0.0.1 \ -port 8334 \ @@ -29,6 +30,8 @@ PIDS+=($!) ./weed-vector-server \ --namespace http://127.0.0.1:9102 \ + --storage-option aws_access_key_id=test \ + --storage-option aws_secret_access_key=test \ --listen 127.0.0.1:9301 & PIDS+=($!) diff --git a/test/vectors/s3.json b/test/vectors/s3.json new file mode 100644 index 0000000000..a95df73362 --- /dev/null +++ b/test/vectors/s3.json @@ -0,0 +1,20 @@ +{ + "identities": [ + { + "name": "admin", + "credentials": [ + { + "accessKey": "test", + "secretKey": "test" + } + ], + "actions": [ + "Admin", + "Read", + "List", + "Tagging", + "Write" + ] + } + ] +}