aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/s3.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index 25b75e9da..8dcb681b9 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -160,6 +160,14 @@ var cmdS3 = &Command{
]
}
+ Alternatively, you can use environment variables to supplement admin credentials:
+
+ AWS_ACCESS_KEY_ID=your_access_key AWS_SECRET_ACCESS_KEY=your_secret_key weed s3
+
+ This will add admin credentials from environment variables to any existing
+ configuration. Environment variables are added after loading file/filer
+ configurations and are skipped if the same access key already exists.
+
`,
}