diff --git a/Configure-Remote-Storage.md b/Configure-Remote-Storage.md new file mode 100644 index 0000000..298d095 --- /dev/null +++ b/Configure-Remote-Storage.md @@ -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.