diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-24 23:19:45 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-24 23:19:45 -0700 |
| commit | a19c728034839d893c0a73473520d9a4d558d984 (patch) | |
| tree | 33ada634a16189bf185f8817d25432cc930977dc /weed/shell | |
| parent | 19a81d25af7224ac76816d11e740ecd79b7d7ab3 (diff) | |
| download | seaweedfs-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.go | 4 |
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 } |
