From 38a26ea61cfda707b1d66bb6a94e554b507b1d6a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 9 Aug 2021 23:10:53 -0700 Subject: [PATCH] Created Configure Remote Storage (markdown) --- Configure-Remote-Storage.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Configure-Remote-Storage.md 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.