This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 3191227694b [opt] Add `note` for creating storage vault with GCP
(#2122)
3191227694b is described below
commit 3191227694b31444f2600750ba5c830905c5ab07
Author: Lei Zhang <[email protected]>
AuthorDate: Mon Mar 3 13:38:00 2025 +0800
[opt] Add `note` for creating storage vault with GCP (#2122)
---
.../storage-management/CREATE-STORAGE-VAULT.md | 14 ++++++++++----
.../storage-management/CREATE-STORAGE-VAULT.md | 18 ++++++++++++++----
.../storage-management/CREATE-STORAGE-VAULT.md | 14 ++++++++++----
.../storage-management/CREATE-STORAGE-VAULT.md | 14 ++++++++++----
4 files changed, 44 insertions(+), 16 deletions(-)
diff --git
a/docs/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
b/docs/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
index e0da5f83fbd..6e4f5657929 100644
---
a/docs/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
+++
b/docs/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
@@ -49,7 +49,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
| param | is required | desc
|
|:----------------|:------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | required | The endpoint used for object storage.
<br/>**Notice**, please don't provide the endpoint with any `http://` or
`https://`. And for Azure Blob Storage, the endpoint should be
`blob.core.windows.net`. |
-| `s3.region` | required | The region of your bucket.(Not required
when you'r using GCP or AZURE).
|
+| `s3.region` | required | The region of your bucket.(If you are using
GCP or Azure, you can specify us-east-1).
|
| `s3.root.path` | required | The path where the data would be stored.
|
| `s3.bucket` | required | The bucket of your object storage account.
(StorageAccount if you're using Azure).
|
| `s3.access_key` | required | The access key of your object storage
account. (AccountName if you're using Azure).
|
@@ -126,7 +126,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"s3.secret_key" = "xxxxxx", -- required,
Your OBS secret key
"s3.region" = "cn-north-4", -- required
"s3.root.path" = "obs_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required,
Your COS bucket name
+ "s3.bucket" = "xxxxxx", -- required,
Your OBS bucket name
"provider" = "OBS", -- required
"use_path_style" = "false" -- optional, OBS
suggest setting `false`
);
@@ -155,10 +155,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"type" = "S3", -- required
"s3.endpoint" = "s3.us-east-1.amazonaws.com", -- required
"s3.access_key" = "xxxxxx", -- required, Your
S3 access key
- "s3.secret_key" = "xxxxxx", -- required, Your
OBS secret key
+ "s3.secret_key" = "xxxxxx", -- required, Your
S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required, Your
s3 bucket name
+ "s3.bucket" = "xxxxxx", -- required, Your
S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3
suggest setting `false`
);
@@ -209,6 +209,12 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
);
```
+**Note**
+
+[The s3.access_key corresponds to the Access ID of the GCP HMAC
key](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
+[The s3.secret_key corresponds to the Secret of the GCP HMAC
key](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
### Keywords
CREATE, STORAGE VAULT
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
index d14953db21c..73703703a21 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
@@ -54,7 +54,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <`vault_name`> [
<`properties`> ]
| 参数 | 是否必需 | 描述
|
|:----------------|:-----|:--------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | 必需 | 用于对象存储的端点。<br/>注意,请不要提供带有 http:// 或 https://
开头的链接。对于 Azure Blob 存储,endpoint 是固定的 blob.core.windows.net。 |
-| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则不需要)。 |
+| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则可填us-east-1)。 |
| `s3.root.path` | 必需 | 存储数据的路径。 |
| `s3.bucket` | 必需 | 您的对象存储账户的存储桶。(如果您使用 Azure,则为 StorageAccount)。 |
| `s3.access_key` | 必需 | 您的对象存储账户的访问密钥。(如果您使用 Azure,则为 AccountName)。 |
@@ -131,7 +131,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <`vault_name`> [
<`properties`> ]
"s3.secret_key" = "xxxxxx", -- required,
Your OBS secret key
"s3.region" = "cn-north-4", -- required
"s3.root.path" = "obs_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required,
Your COS bucket name
+ "s3.bucket" = "xxxxxx", -- required,
Your OBS bucket name
"provider" = "OBS", -- required
"use_path_style" = "false" -- optional, OBS
建议设置 false
);
@@ -160,10 +160,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <`vault_name`> [
<`properties`> ]
"type" = "S3", -- required
"s3.endpoint" = "s3.us-east-1.amazonaws.com", -- required
"s3.access_key" = "xxxxxx", -- required, Your
S3 access key
- "s3.secret_key" = "xxxxxx", -- required, Your
OBS secret key
+ "s3.secret_key" = "xxxxxx", -- required, Your
S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required, Your
s3 bucket name
+ "s3.bucket" = "xxxxxx", -- required, Your
S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3
建议设置 false
);
@@ -214,3 +214,13 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <`vault_name`> [
<`properties`> ]
"provider" = "GCP" -- required
);
```
+
+ **注意**
+
+ [s3.access_key对应GCP HMAC key的Access
ID](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
+ [s3.secret_key对应GCP HMAC
key的Secret](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
+### 关键词
+
+ CREATE, STORAGE VAULT
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
index 24e3b94d149..17e8af797f3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
@@ -48,7 +48,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
| 参数 | 是否必需 | 描述
|
|:----------------|:-----|:--------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | 必需 | 用于对象存储的端点。<br/>注意,请不要提供带有 http:// 或 https://
开头的链接。对于 Azure Blob 存储,endpoint 是固定的 blob.core.windows.net。 |
-| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则不需要)。 |
+| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则可填us-east-1)。 |
| `s3.root.path` | 必需 | 存储数据的路径。 |
| `s3.bucket` | 必需 | 您的对象存储账户的存储桶。(如果您使用 Azure,则为 StorageAccount)。 |
| `s3.access_key` | 必需 | 您的对象存储账户的访问密钥。(如果您使用 Azure,则为 AccountName)。 |
@@ -125,7 +125,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"s3.secret_key" = "xxxxxx", -- required,
Your OBS secret key
"s3.region" = "cn-north-4", -- required
"s3.root.path" = "obs_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required,
Your COS bucket name
+ "s3.bucket" = "xxxxxx", -- required,
Your OBS bucket name
"provider" = "OBS", -- required
"use_path_style" = "false" -- optional, OBS
建议设置 false
);
@@ -154,10 +154,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"type" = "S3", -- required
"s3.endpoint" = "s3.us-east-1.amazonaws.com", -- required
"s3.access_key" = "xxxxxx", -- required, Your
S3 access key
- "s3.secret_key" = "xxxxxx", -- required, Your
OBS secret key
+ "s3.secret_key" = "xxxxxx", -- required, Your
S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required, Your
s3 bucket name
+ "s3.bucket" = "xxxxxx", -- required, Your
S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3
建议设置 false
);
@@ -209,6 +209,12 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
);
```
+**注意**
+
+[s3.access_key对应GCP HMAC key的Access
ID](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
+[s3.secret_key对应GCP HMAC
key的Secret](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
### 关键词
CREATE, STORAGE VAULT
diff --git
a/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
b/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
index e0da5f83fbd..6e4f5657929 100644
---
a/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
+++
b/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md
@@ -49,7 +49,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
| param | is required | desc
|
|:----------------|:------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | required | The endpoint used for object storage.
<br/>**Notice**, please don't provide the endpoint with any `http://` or
`https://`. And for Azure Blob Storage, the endpoint should be
`blob.core.windows.net`. |
-| `s3.region` | required | The region of your bucket.(Not required
when you'r using GCP or AZURE).
|
+| `s3.region` | required | The region of your bucket.(If you are using
GCP or Azure, you can specify us-east-1).
|
| `s3.root.path` | required | The path where the data would be stored.
|
| `s3.bucket` | required | The bucket of your object storage account.
(StorageAccount if you're using Azure).
|
| `s3.access_key` | required | The access key of your object storage
account. (AccountName if you're using Azure).
|
@@ -126,7 +126,7 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"s3.secret_key" = "xxxxxx", -- required,
Your OBS secret key
"s3.region" = "cn-north-4", -- required
"s3.root.path" = "obs_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required,
Your COS bucket name
+ "s3.bucket" = "xxxxxx", -- required,
Your OBS bucket name
"provider" = "OBS", -- required
"use_path_style" = "false" -- optional, OBS
suggest setting `false`
);
@@ -155,10 +155,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
"type" = "S3", -- required
"s3.endpoint" = "s3.us-east-1.amazonaws.com", -- required
"s3.access_key" = "xxxxxx", -- required, Your
S3 access key
- "s3.secret_key" = "xxxxxx", -- required, Your
OBS secret key
+ "s3.secret_key" = "xxxxxx", -- required, Your
S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required
- "s3.bucket" = "xxxxxx", -- required, Your
s3 bucket name
+ "s3.bucket" = "xxxxxx", -- required, Your
S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3
suggest setting `false`
);
@@ -209,6 +209,12 @@ CREATE STORAGE VAULT [IF NOT EXISTS] vault
);
```
+**Note**
+
+[The s3.access_key corresponds to the Access ID of the GCP HMAC
key](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
+[The s3.secret_key corresponds to the Secret of the GCP HMAC
key](https://cloud.google.com/storage/docs/authentication/hmackeys)
+
### Keywords
CREATE, STORAGE VAULT
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]