diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-03-03 13:34:20 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-03-03 14:29:10 +0100 |
commit | 2a3afcaf659bca7fa43501f6adb016626e6f29ed (patch) | |
tree | 8449770f71839a446c8f8fb617833daf5b5e0164 /script/dev-env-winscp.sh | |
parent | 8a5bbc3b0b1c6ab252d0c98950456a9d4cc2e9fe (diff) | |
download | garage-2a3afcaf659bca7fa43501f6adb016626e6f29ed.tar.gz garage-2a3afcaf659bca7fa43501f6adb016626e6f29ed.zip |
Test WinSCPtest/winscp
Diffstat (limited to 'script/dev-env-winscp.sh')
-rw-r--r-- | script/dev-env-winscp.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/dev-env-winscp.sh b/script/dev-env-winscp.sh new file mode 100644 index 00000000..678da510 --- /dev/null +++ b/script/dev-env-winscp.sh @@ -0,0 +1,4 @@ +export AWS_ACCESS_KEY_ID=`cat /tmp/garage.s3 |cut -d' ' -f1` +export AWS_SECRET_ACCESS_KEY=`cat /tmp/garage.s3 |cut -d' ' -f2` +export AWS_DEFAULT_REGION='garage' +export WINSCP_URL="s3://${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}@127.0.0.1:4443 -certificate=* -rawsettings S3DefaultRegion=garage S3UrlStyle=1" |