docs(alibaba-oss:storage): add important context for aliyun oss configuration regarding tls (#29305)

* add important context for aliyun oss configuration regarding tls

* Update website/content/docs/configuration/storage/alicloudoss.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/configuration/storage/alicloudoss.mdx

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
This commit is contained in:
Felix Wenzel 2025-07-17 01:13:07 +02:00 committed by GitHub
parent 3702743a68
commit abbc13be0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
}
```