diff options
| author | Muhammad Hallaj bin Subery <hallaj@users.noreply.github.com> | 2023-02-06 13:24:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-05 21:24:21 -0800 |
| commit | 9bd422d2c93ec330f4e64484c4473f0f2ca15bb6 (patch) | |
| tree | eae3f98c4322f87c23a5a0b252c55fb777852780 /weed/shell/command_remote_configure.go | |
| parent | 84e9934bf9143076fba5cbe0e2251a6628576202 (diff) | |
| download | seaweedfs-9bd422d2c93ec330f4e64484c4473f0f2ca15bb6.tar.xz seaweedfs-9bd422d2c93ec330f4e64484c4473f0f2ca15bb6.zip | |
adding support for B2 region (#4177)
Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
Diffstat (limited to 'weed/shell/command_remote_configure.go')
| -rw-r--r-- | weed/shell/command_remote_configure.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go index 4491dc456..6647e3af2 100644 --- a/weed/shell/command_remote_configure.go +++ b/weed/shell/command_remote_configure.go @@ -79,6 +79,7 @@ func (c *commandRemoteConfigure) Do(args []string, commandEnv *CommandEnv, write remoteConfigureCommand.StringVar(&conf.BackblazeKeyId, "b2.key_id", "", "backblaze keyID") 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.BackblazeRegion, "b2.region", "us-west-002", "backblaze region") remoteConfigureCommand.StringVar(&conf.AliyunAccessKey, "aliyun.access_key", "", "Aliyun access key, default to use env ALICLOUD_ACCESS_KEY_ID") remoteConfigureCommand.StringVar(&conf.AliyunSecretKey, "aliyun.secret_key", "", "Aliyun secret key, default to use env ALICLOUD_ACCESS_KEY_SECRET") |
