diff --git a/website/content/docs/configuration/storage/alicloudoss.mdx b/website/content/docs/configuration/storage/alicloudoss.mdx index 3188f07f5e..15fcd0d65d 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,10 @@ 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`. By default, the + Aliyun SDK uses HTTP for endpoint schemas. **You must use the `https://` prefix to + ensure encrypted communication**. + The following settings are used for authenticating to Alicloud. @@ -56,7 +59,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" } ```