diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-12 18:12:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-12 18:12:31 +0100 |
commit | 5ab33fddacc1c40eaf09e0c0cedb2224eb7def80 (patch) | |
tree | 0e34467e3166be8cc6b3b7c8cc7ecefd18419dc4 /script/dev-bucket.sh | |
parent | a1442f072ad9427851f49103083582637ddcdbd4 (diff) | |
download | garage-5ab33fddacc1c40eaf09e0c0cedb2224eb7def80.tar.gz garage-5ab33fddacc1c40eaf09e0c0cedb2224eb7def80.zip |
Refactor CLI and prettify CLI outpu
Diffstat (limited to 'script/dev-bucket.sh')
-rwxr-xr-x | script/dev-bucket.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/dev-bucket.sh b/script/dev-bucket.sh index 973d6d30..8a3587be 100755 --- a/script/dev-bucket.sh +++ b/script/dev-bucket.sh @@ -11,7 +11,7 @@ PATH="${GARAGE_DEBUG}:${GARAGE_RELEASE}:$PATH" garage bucket create eprouvette KEY_INFO=`garage key new --name opérateur` ACCESS_KEY=`echo $KEY_INFO|grep -Po 'GK[a-f0-9]+'` -SECRET_KEY=`echo $KEY_INFO|grep -Po 'secret_key: "[a-f0-9]+'|grep -Po '[a-f0-9]+$'` +SECRET_KEY=`echo $KEY_INFO|grep -Po 'Secret key: [a-f0-9]+'|grep -Po '[a-f0-9]+$'` garage bucket allow eprouvette --read --write --key $ACCESS_KEY echo "$ACCESS_KEY $SECRET_KEY" > /tmp/garage.s3 |