mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
S3 API: simpler way to start s3 with credentials (#7030)
* simpler way to start s3 with credentials * AWS_ACCESS_KEY_ID=access_key AWS_SECRET_ACCESS_KEY=secret_key weed s3 * last adding credentials from env variables * Update weed/s3api/auth_credentials.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * simplify * adjust doc --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
d5085cd1f7
commit
e3d3c495ab
3 files changed
+153
-20
No files matched your search
@@ -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.
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user