From b2cded4ee43adf867f5e2adfff62f331813c09cc Mon Sep 17 00:00:00 2001 From: Felix Wenzel Date: Tue, 7 Jan 2025 14:20:35 +0100 Subject: [PATCH 1/3] add important context for aliyun oss configuration regarding tls --- .../content/docs/configuration/storage/alicloudoss.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/content/docs/configuration/storage/alicloudoss.mdx b/website/content/docs/configuration/storage/alicloudoss.mdx index 3188f07f5ed8..28518a8cf994 100644 --- a/website/content/docs/configuration/storage/alicloudoss.mdx +++ b/website/content/docs/configuration/storage/alicloudoss.mdx @@ -22,7 +22,7 @@ an [Alicloud OSS][alicloudoss] bucket. storage "alicloudoss" { access_key = "abcd1234" secret_key = "defg5678" - endpoint = "oss-us-west-1.aliyuncs.com" + endpoint = "https://oss-us-west-1.aliyuncs.com" bucket = "my-bucket" } ``` @@ -33,7 +33,9 @@ storage "alicloudoss" { can also be provided via the environment variable `ALICLOUD_OSS_BUCKET`. - `endpoint` `(string: "")` – Specifies the OSS endpoint. This can also be - provided via the environment variable `ALICLOUD_OSS_ENDPOINT`. + provided via the environment variable `ALICLOUD_OSS_ENDPOINT`.
+ **Important Note:** By default the Aliyun SDK uses HTTP for the endpoint schema, which means you should set the according protocol prefix of `"https://"` in order to ensure encrypted communication. + The following settings are used for authenticating to Alicloud. @@ -56,7 +58,7 @@ This example shows using Alicloud OSS as a storage backend. storage "alicloudoss" { access_key = "abcd1234" secret_key = "defg5678" - endpoint = "oss-us-west-1.aliyuncs.com" + endpoint = "https://oss-us-west-1.aliyuncs.com" bucket = "my-bucket" } ``` From 38f4d040b496dc196ee9b22b5e702c0d30ebc259 Mon Sep 17 00:00:00 2001 From: Felix Wenzel <62264190+wenzel-felix@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:31:02 +0100 Subject: [PATCH 2/3] Update website/content/docs/configuration/storage/alicloudoss.mdx Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com> --- website/content/docs/configuration/storage/alicloudoss.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/content/docs/configuration/storage/alicloudoss.mdx b/website/content/docs/configuration/storage/alicloudoss.mdx index 28518a8cf994..cd9c58df0b35 100644 --- a/website/content/docs/configuration/storage/alicloudoss.mdx +++ b/website/content/docs/configuration/storage/alicloudoss.mdx @@ -33,8 +33,9 @@ storage "alicloudoss" { can also be provided via the environment variable `ALICLOUD_OSS_BUCKET`. - `endpoint` `(string: "")` – Specifies the OSS endpoint. This can also be - provided via the environment variable `ALICLOUD_OSS_ENDPOINT`.
- **Important Note:** By default the Aliyun SDK uses HTTP for the endpoint schema, which means you should set the according protocol prefix of `"https://"` in order to ensure encrypted communication. + provided via the environment variable `ALICLOUD_OSS_ENDPOINT`. By default, the + Aliyun SDK uses HTTP for endpoint schemas. **You use the `https://` prefix to + ensure encrypted communication**. The following settings are used for authenticating to Alicloud. From 3a9ac78c53f4ae51c769cfa677fcba7ceecd771a Mon Sep 17 00:00:00 2001 From: Sarah Chavis <62406755+schavis@users.noreply.github.com> Date: Thu, 30 Jan 2025 12:20:49 -0800 Subject: [PATCH 3/3] Update website/content/docs/configuration/storage/alicloudoss.mdx --- website/content/docs/configuration/storage/alicloudoss.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/configuration/storage/alicloudoss.mdx b/website/content/docs/configuration/storage/alicloudoss.mdx index cd9c58df0b35..15fcd0d65d9b 100644 --- a/website/content/docs/configuration/storage/alicloudoss.mdx +++ b/website/content/docs/configuration/storage/alicloudoss.mdx @@ -34,7 +34,7 @@ storage "alicloudoss" { - `endpoint` `(string: "")` – Specifies the OSS endpoint. This can also be provided via the environment variable `ALICLOUD_OSS_ENDPOINT`. By default, the - Aliyun SDK uses HTTP for endpoint schemas. **You use the `https://` prefix to + Aliyun SDK uses HTTP for endpoint schemas. **You must use the `https://` prefix to ensure encrypted communication**.