Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <vault_name> [ <properties> ]
| `[IF NOT EXISTS]` | If the specified storage vault already exists, the creation operation will not be executed, and no error will be thrown. This prevents duplicate creation of the same storage vault. |
| `<properties>` | A set of key-value pairs used to set or update specific properties of the storage vault. Each property consists of a key (<key>) and a value (<value>), separated by an equals sign (=). Multiple key-value pairs are separated by commas (,). |

:::note
The `type` property accepts only two values: `"S3"` or `"hdfs"` (case-insensitive). All object-storage backends — Amazon S3, Alibaba Cloud OSS, Tencent Cloud COS, Huawei Cloud OBS, Baidu Cloud BOS, MinIO, Azure Blob Storage, and Google Cloud Storage — use `"type" = "S3"` because Doris accesses them through the S3-compatible API. The actual cloud is selected by the separate `provider` property (`COS`, `OSS`, `S3`, `OBS`, `BOS`, `AZURE`, or `GCP`). The `s3.access_key` / `s3.secret_key` property names follow the same convention and are not specific to AWS S3.
:::

### S3 Vault

| Parameter | Required | Description |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ CREATE STORAGE VAULT [IF NOT EXISTS] <`vault_name`> [ <`properties`> ]
| `[IF NOT EXISTS]` | 如果指定的存储库已经存在,则不会执行创建操作,并且不会抛出错误。这可以防止重复创建相同的存储库。 |
| `PROPERTIES` | 一组键值对,用来设置或更新存储库的具体属性。每个属性由键(`<key>`)和值(`<value>`)组成,并用等号 (`=`) 分隔。多个键值对之间用逗号 (`,`) 分隔。 |

:::note
`type` 属性只接受两种取值:`"S3"` 或 `"hdfs"`(不区分大小写)。所有对象存储后端 —— Amazon S3、阿里云 OSS、腾讯云 COS、华为云 OBS、百度云 BOS、MinIO、Azure Blob Storage、Google Cloud Storage —— 都使用 `"type" = "S3"`,因为 Doris 通过 S3 兼容 API 访问它们。具体的云厂商由 `provider` 属性指定(`COS`、`OSS`、`S3`、`OBS`、`BOS`、`AZURE`、`GCP` 之一)。`s3.access_key` / `s3.secret_key` 属性命名同理,并非特指 AWS S3。
:::

### S3 Vault

| 参数 | 是否必需 | 描述 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@
| `[IF NOT EXISTS]` | 如果指定的存储库已经存在,则不会执行创建操作,并且不会抛出错误。这可以防止重复创建相同的存储库。 |
| `PROPERTIES` | 一组键值对,用来设置或更新存储库的具体属性。每个属性由键(`<key>`)和值(`<value>`)组成,并用等号 (`=`) 分隔。多个键值对之间用逗号 (`,`) 分隔。 |

:::note

Check warning on line 34 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
`type` 属性只接受两种取值:`"S3"` 或 `"hdfs"`(不区分大小写)。所有对象存储后端 —— Amazon S3、阿里云 OSS、腾讯云 COS、华为云 OBS、百度云 BOS、MinIO、Azure Blob Storage、Google Cloud Storage —— 都使用 `"type" = "S3"`,因为 Doris 通过 S3 兼容 API 访问它们。具体的云厂商由 `provider` 属性指定(`COS`、`OSS`、`S3`、`OBS`、`BOS`、`AZURE`、`GCP` 之一)。`s3.access_key` / `s3.secret_key` 属性命名同理,并非特指 AWS S3。
:::

### S3 Vault

| 参数 | 是否必需 | 描述 |
|:----------------|:-----|:--------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | 必需 | 用于对象存储的端点。对于 Azure Blob 存储,endpoint 是固定的 blob.core.windows.net。 |
| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则可填us-east-1)。 |
| `s3.root.path` | 必需 | 存储数据的路径。 |

Check warning on line 44 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
| `s3.bucket` | 必需 | 您的对象存储账户的存储桶。(如果您使用 Azure,则为 StorageAccount)。 |
| `s3.access_key` | 必需 | 您的对象存储账户的访问密钥。(如果您使用 Azure,则为 AccountName)。 |

Check warning on line 46 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
| `s3.secret_key` | 必需 | 您的对象存储账户的秘密密钥。(如果您使用 Azure,则为 AccountKey)。 |
| `provider` | 必需 | 提供对象存储服务的云供应商。支持的值有`COS`,`OSS`,`S3`,`OBS`,`BOS`,`AZURE`,`GCP` |
| `use_path_style` | 可选 | 使用 `path-style URL`(私有化部署环境) 或者`virtual-hosted-style URL`(公有云环境建议), 默认值 `true` (path-style) |
Expand All @@ -48,7 +52,7 @@

1. `s3.endpoint` 如果不提供`http://` 或 `https://` 前缀, 则默认使用http; 如提供,则会以前缀为准;

2. Doris也支持`AWS Assume Role`的方式创建Storage Vault(仅限于AWS S3),配置方式请参考[AWS集成](../../../../admin-manual/auth/integrations/aws-authentication-and-authorization.md#assumed-role-authentication)。

Check failure on line 55 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-missing-anchor

Anchor #assumed-role-authentication does not exist in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/auth/integrations/aws-authentication-and-authorization.md. Owner%3A @apache/doris-sql-reviewers

### HDFS vault

Expand Down Expand Up @@ -156,7 +160,7 @@
"s3.access_key" = "xxxxxx", -- required, Your S3 access key
"s3.secret_key" = "xxxxxx", -- required, Your S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required

Check warning on line 163 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
"s3.bucket" = "xxxxxx", -- required, Your S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3 建议设置 false
Expand All @@ -165,7 +169,7 @@

**注意:&#x20;**

Doris也支持`AWS Assume Role`的方式创建Storage Vault(仅限于AWS S3),配置方式请参考[AWS集成](../../../../admin-manual/auth/integrations/aws-authentication-and-authorization.md#assumed-role-authentication).

Check failure on line 172 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-missing-anchor

Anchor #assumed-role-authentication does not exist in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/auth/integrations/aws-authentication-and-authorization.md. Owner%3A @apache/doris-sql-reviewers

### 7. 创建 MinIO storage vault。

Expand Down Expand Up @@ -209,18 +213,18 @@
"s3.endpoint" = "storage.googleapis.com", -- required
"s3.access_key" = "xxxxxx", -- required
"s3.secret_key" = "xxxxxx", -- required
"s3.region" = "us-east-1", -- required

Check warning on line 216 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
"s3.root.path" = "gcp_demo_vault_prefix", -- required
"s3.bucket" = "xxxxxx", -- required

Check warning on line 218 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
"provider" = "GCP" -- required
);
```

**注意**

[s3.access_key对应GCP HMAC key的Access ID](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 225 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

[s3.secret_key对应GCP HMAC key的Secret](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 227 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

## 关键词

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@
| `[IF NOT EXISTS]` | 如果指定的存储库已经存在,则不会执行创建操作,并且不会抛出错误。这可以防止重复创建相同的存储库。 |
| `PROPERTIES` | 一组键值对,用来设置或更新存储库的具体属性。每个属性由键(`<key>`)和值(`<value>`)组成,并用等号 (`=`) 分隔。多个键值对之间用逗号 (`,`) 分隔。 |

:::note

Check warning on line 34 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
`type` 属性只接受两种取值:`"S3"` 或 `"hdfs"`(不区分大小写)。所有对象存储后端 —— Amazon S3、阿里云 OSS、腾讯云 COS、华为云 OBS、百度云 BOS、MinIO、Azure Blob Storage、Google Cloud Storage —— 都使用 `"type" = "S3"`,因为 Doris 通过 S3 兼容 API 访问它们。具体的云厂商由 `provider` 属性指定(`COS`、`OSS`、`S3`、`OBS`、`BOS`、`AZURE`、`GCP` 之一)。`s3.access_key` / `s3.secret_key` 属性命名同理,并非特指 AWS S3。
:::

### S3 Vault

| 参数 | 是否必需 | 描述 |
|:----------------|:-----|:--------------------------------------------------------------------------------------------------------|
| `s3.endpoint` | 必需 | 用于对象存储的端点。对于 Azure Blob 存储,endpoint 是固定的 blob.core.windows.net。 |
| `s3.region` | 必需 | 您的存储桶的区域。(如果您使用 GCP 或 AZURE,则可填us-east-1)。 |
| `s3.root.path` | 必需 | 存储数据的路径。 |

Check warning on line 44 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
| `s3.bucket` | 必需 | 您的对象存储账户的存储桶。(如果您使用 Azure,则为 StorageAccount)。 |
| `s3.access_key` | 必需 | 您的对象存储账户的访问密钥。(如果您使用 Azure,则为 AccountName)。 |

Check warning on line 46 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
| `s3.secret_key` | 必需 | 您的对象存储账户的秘密密钥。(如果您使用 Azure,则为 AccountKey)。 |
| `provider` | 必需 | 提供对象存储服务的云供应商。支持的值有`COS`,`OSS`,`S3`,`OBS`,`BOS`,`AZURE`,`GCP` |
| `use_path_style` | 可选 | 使用 `path-style URL`(私有化部署环境) 或者`virtual-hosted-style URL`(公有云环境建议), 默认值 `true` (path-style) |
Expand All @@ -48,7 +52,7 @@

1. `s3.endpoint` 如果不提供`http://` 或 `https://` 前缀, 则默认使用http; 如提供,则会以前缀为准;

2. Doris也支持`AWS Assume Role`的方式创建Storage Vault(仅限于AWS S3),配置方式请参考[AWS集成](../../../../admin-manual/auth/integrations/aws-authentication-and-authorization.md#assumed-role-authentication)。

Check failure on line 55 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-missing-anchor

Anchor #assumed-role-authentication does not exist in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/auth/integrations/aws-authentication-and-authorization.md. Owner%3A @apache/doris-sql-reviewers

### HDFS vault

Expand Down Expand Up @@ -156,7 +160,7 @@
"s3.access_key" = "xxxxxx", -- required, Your S3 access key
"s3.secret_key" = "xxxxxx", -- required, Your S3 secret key
"s3.region" = "us-east-1", -- required
"s3.root.path" = "s3_demo_vault_prefix", -- required

Check warning on line 163 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @apache/doris-sql-reviewers
"s3.bucket" = "xxxxxx", -- required, Your S3 bucket name
"provider" = "S3", -- required
"use_path_style" = "false" -- optional, S3 建议设置 false
Expand All @@ -165,7 +169,7 @@

**注意:&#x20;**

Doris也支持`AWS Assume Role`的方式创建Storage Vault(仅限于AWS S3),配置方式请参考[AWS集成](../../../../admin-manual/auth/integrations/aws-authentication-and-authorization#assumed-role-authentication).

Check failure on line 172 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-missing-anchor

Anchor #assumed-role-authentication does not exist in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/auth/integrations/aws-authentication-and-authorization.md. Owner%3A @apache/doris-sql-reviewers

### 7. 创建 MinIO storage vault。

Expand Down Expand Up @@ -218,9 +222,9 @@

**注意**

[s3.access_key对应GCP HMAC key的Access ID](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 225 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

[s3.secret_key对应GCP HMAC key的Secret](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 227 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

## 关键词

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @apache/doris-sql-reviewers
{
"title": "CREATE-STORAGE-VAULT",
"language": "en",
Expand Down Expand Up @@ -32,6 +32,10 @@
| `[IF NOT EXISTS]` | If the specified storage vault already exists, the creation operation will not be executed, and no error will be thrown. This prevents duplicate creation of the same storage vault. |
| `<properties>` | A set of key-value pairs used to set or update specific properties of the storage vault. Each property consists of a key (<key>) and a value (<value>), separated by an equals sign (=). Multiple key-value pairs are separated by commas (,). |

:::note
The `type` property accepts only two values: `"S3"` or `"hdfs"` (case-insensitive). All object-storage backends — Amazon S3, Alibaba Cloud OSS, Tencent Cloud COS, Huawei Cloud OBS, Baidu Cloud BOS, MinIO, Azure Blob Storage, and Google Cloud Storage — use `"type" = "S3"` because Doris accesses them through the S3-compatible API. The actual cloud is selected by the separate `provider` property (`COS`, `OSS`, `S3`, `OBS`, `BOS`, `AZURE`, or `GCP`). The `s3.access_key` / `s3.secret_key` property names follow the same convention and are not specific to AWS S3.
:::

### S3 Vault

| Parameter | Required | Description |
Expand Down Expand Up @@ -220,9 +224,9 @@

**Note**

[The s3.access_key corresponds to the Access ID of the GCP HMAC key](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 227 in versioned_docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

[The s3.secret_key corresponds to the Secret of the GCP HMAC key](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 229 in versioned_docs/version-3.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

## Keywords

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @apache/doris-sql-reviewers
{
"title": "CREATE-STORAGE-VAULT",
"language": "en",
Expand Down Expand Up @@ -32,6 +32,10 @@
| `[IF NOT EXISTS]` | If the specified storage vault already exists, the creation operation will not be executed, and no error will be thrown. This prevents duplicate creation of the same storage vault. |
| `<properties>` | A set of key-value pairs used to set or update specific properties of the storage vault. Each property consists of a key (<key>) and a value (<value>), separated by an equals sign (=). Multiple key-value pairs are separated by commas (,). |

:::note
The `type` property accepts only two values: `"S3"` or `"hdfs"` (case-insensitive). All object-storage backends — Amazon S3, Alibaba Cloud OSS, Tencent Cloud COS, Huawei Cloud OBS, Baidu Cloud BOS, MinIO, Azure Blob Storage, and Google Cloud Storage — use `"type" = "S3"` because Doris accesses them through the S3-compatible API. The actual cloud is selected by the separate `provider` property (`COS`, `OSS`, `S3`, `OBS`, `BOS`, `AZURE`, or `GCP`). The `s3.access_key` / `s3.secret_key` property names follow the same convention and are not specific to AWS S3.
:::

### S3 Vault

| Parameter | Required | Description |
Expand Down Expand Up @@ -220,9 +224,9 @@

**Note**

[The s3.access_key corresponds to the Access ID of the GCP HMAC key](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 227 in versioned_docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

[The s3.secret_key corresponds to the Secret of the GCP HMAC key](https://cloud.google.com/storage/docs/authentication/hmackeys)

Check notice on line 229 in versioned_docs/version-4.x/sql-manual/sql-statements/cluster-management/storage-management/CREATE-STORAGE-VAULT.md

View workflow job for this annotation

GitHub Actions / Build Check

link-external-report-only

External link is report-only and was not fetched%3A https%3A//cloud.google.com/storage/docs/authentication/hmackeys. Owner%3A @apache/doris-sql-reviewers

## Keywords

Expand Down
Loading