aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-24 23:19:45 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-24 23:19:45 -0700
commita19c728034839d893c0a73473520d9a4d558d984 (patch)
tree33ada634a16189bf185f8817d25432cc930977dc /weed/shell
parent19a81d25af7224ac76816d11e740ecd79b7d7ab3 (diff)
downloadseaweedfs-a19c728034839d893c0a73473520d9a4d558d984.tar.xz
seaweedfs-a19c728034839d893c0a73473520d9a4d558d984.zip
cloud drive: add support for Tencent COS
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_remote_configure.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go
index cab4639e2..33c21e218 100644
--- a/weed/shell/command_remote_configure.go
+++ b/weed/shell/command_remote_configure.go
@@ -76,6 +76,10 @@ func (c *commandRemoteConfigure) Do(args []string, commandEnv *CommandEnv, write
remoteConfigureCommand.StringVar(&conf.AliyunSecretKey, "aliyun.secret_key", "", "Aliyun secret key")
remoteConfigureCommand.StringVar(&conf.AliyunEndpoint, "aliyun.endpoint", "", "Aliyun endpoint")
+ remoteConfigureCommand.StringVar(&conf.TencentSecretId, "tencent.secret_id", "", "Tencent Secret Id")
+ remoteConfigureCommand.StringVar(&conf.TencentSecretKey, "tencent.secret_key", "", "Tencent secret key")
+ remoteConfigureCommand.StringVar(&conf.TencentEndpoint, "tencent.endpoint", "", "Tencent endpoint")
+
if err = remoteConfigureCommand.Parse(args); err != nil {
return nil
}