mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-14 00:53:14 +00:00
fix(config): restore default credential startup (#3114)
* fix(config): restore default credential startup * fix: align e2e credentials with server env * fix(config): restore default credential consistency --------- Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
+4
-4
@@ -20,16 +20,16 @@ VOLUME=$2
|
||||
chmod +x $BIN
|
||||
mkdir -p $VOLUME
|
||||
|
||||
export RUSTFS_ACCESS_KEY="${RUSTFS_ACCESS_KEY:-rustfsadmin}"
|
||||
export RUSTFS_SECRET_KEY="${RUSTFS_SECRET_KEY:-rustfsadmin}"
|
||||
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
|
||||
export RUST_BACKTRACE=full
|
||||
export RUSTFS_ACCESS_KEY=rustfs-e2e-admin
|
||||
export RUSTFS_SECRET_KEY=rustfs-e2e-secret
|
||||
$BIN $VOLUME > /tmp/rustfs.log 2>&1 &
|
||||
|
||||
sleep 10
|
||||
|
||||
export AWS_ACCESS_KEY_ID=$RUSTFS_ACCESS_KEY
|
||||
export AWS_SECRET_ACCESS_KEY=$RUSTFS_SECRET_KEY
|
||||
export AWS_ACCESS_KEY_ID="${RUSTFS_ACCESS_KEY:-rustfsadmin}"
|
||||
export AWS_SECRET_ACCESS_KEY="${RUSTFS_SECRET_KEY:-rustfsadmin}"
|
||||
export AWS_REGION=us-east-1
|
||||
export AWS_ENDPOINT_URL=http://localhost:9000
|
||||
export RUST_LOG="s3s_e2e=debug,s3s_test=info,s3s=debug"
|
||||
|
||||
Reference in New Issue
Block a user