mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-08 23:37:43 +02:00
Created Configure Remote Storage (markdown)
1 parent
a1053b1598
commit
38a26ea61c
1 file changed
+21
@@ -0,0 +1,21 @@
|
||||
Remote Storage should be configured first before being used.
|
||||
|
||||
Run `remote.configure` in `weed shell`:
|
||||
```
|
||||
> help remote.configure
|
||||
remote.configure # remote storage configuration
|
||||
|
||||
# see the current configurations
|
||||
remote.configure
|
||||
|
||||
# set or update a configuration
|
||||
remote.configure -name=cloud1 -type=s3 -access_key=xxx -secret_key=yyy
|
||||
|
||||
# delete one configuration
|
||||
remote.configure -delete -name=cloud1
|
||||
|
||||
```
|
||||
|
||||
In the above example, a remote storage is configured to name `cloud1`, which is the name to reference files stored on this account.
|
||||
|
||||
The access key and secret key can be changed on the fly.
|
||||
Reference in new issue
Block a user