diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-24 23:14:24 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-24 23:14:24 -0700 |
| commit | 19a81d25af7224ac76816d11e740ecd79b7d7ab3 (patch) | |
| tree | 503220eb5066326c12cc12ab6aaadb1707fde920 /weed/shell/command_remote_configure.go | |
| parent | 47d775cf68aed0cb342e9150b02509e0466541e6 (diff) | |
| download | seaweedfs-19a81d25af7224ac76816d11e740ecd79b7d7ab3.tar.xz seaweedfs-19a81d25af7224ac76816d11e740ecd79b7d7ab3.zip | |
cloud drive: add support for Aliyun OSS
Diffstat (limited to 'weed/shell/command_remote_configure.go')
| -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 f8fddaa59..cab4639e2 100644 --- a/weed/shell/command_remote_configure.go +++ b/weed/shell/command_remote_configure.go @@ -72,6 +72,10 @@ func (c *commandRemoteConfigure) Do(args []string, commandEnv *CommandEnv, write remoteConfigureCommand.StringVar(&conf.BackblazeApplicationKey, "b2.application_key", "", "backblaze applicationKey. Note that your Master Application Key will not work with the S3 Compatible API. You must create a new key that is eligible for use. For more information: https://help.backblaze.com/hc/en-us/articles/360047425453") remoteConfigureCommand.StringVar(&conf.BackblazeEndpoint, "b2.endpoint", "", "backblaze endpoint") + remoteConfigureCommand.StringVar(&conf.AliyunAccessKey, "aliyun.access_key", "", "Aliyun access key") + remoteConfigureCommand.StringVar(&conf.AliyunSecretKey, "aliyun.secret_key", "", "Aliyun secret key") + remoteConfigureCommand.StringVar(&conf.AliyunEndpoint, "aliyun.endpoint", "", "Aliyun endpoint") + if err = remoteConfigureCommand.Parse(args); err != nil { return nil } |
