mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Created Configure Remote Storage (markdown)
parent
a1053b1598
commit
38a26ea61c
21
Configure-Remote-Storage.md
Normal file
21
Configure-Remote-Storage.md
Normal file
|
@ -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.
|
Loading…
Reference in a new issue