mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
* Update README Let contributors know that docs will now be located in UDR * Add comments to each mdx doc Comment has been added to all mdx docs that are not partials * chore: added changelog changelog check failure * wip: removed changelog * Fix content errors * Doc spacing * Update website/content/docs/deploy/kubernetes/vso/helm.mdx Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com> --------- Co-authored-by: jonathanfrappier <92055993+jonathanfrappier@users.noreply.github.com> Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
71 lines
2.5 KiB
Plaintext
71 lines
2.5 KiB
Plaintext
---
|
||
layout: docs
|
||
page_title: Alicloud OSS configuration
|
||
description: >-
|
||
Configure Vault backend storage to use Alicloud OSS buckets.
|
||
---
|
||
|
||
> [!IMPORTANT]
|
||
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.
|
||
|
||
# Alicloud OSS configuration for Vault backend storage
|
||
|
||
The Alicloud OSS storage backend is used to persist Vault's data in
|
||
an [Alicloud OSS][alicloudoss] bucket.
|
||
|
||
- **No High Availability** – the Alicloud OSS storage backend does not support
|
||
high availability.
|
||
|
||
- **Community Supported** – the Alicloud OSS storage backend is supported by the
|
||
community. While it has undergone review by HashiCorp employees, they may not
|
||
be as knowledgeable about the technology. If you encounter problems with them,
|
||
you may be referred to the original author.
|
||
|
||
```hcl
|
||
storage "alicloudoss" {
|
||
access_key = "abcd1234"
|
||
secret_key = "defg5678"
|
||
endpoint = "https://oss-us-west-1.aliyuncs.com"
|
||
bucket = "my-bucket"
|
||
}
|
||
```
|
||
|
||
## `alicloudoss` parameters
|
||
|
||
- `bucket` `(string: <required>)` – Specifies the name of the OSS bucket. This
|
||
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`. 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.
|
||
|
||
- `access_key` – Specifies the Alicloud access key. This can also be provided via
|
||
the environment variable `ALICLOUD_ACCESS_KEY`.
|
||
|
||
- `secret_key` – Specifies the Alicloud secret key. This can also be provided via
|
||
the environment variable `ALICLOUD_SECRET_KEY`.
|
||
|
||
- `max_parallel` `(string: "128")` – Specifies the maximum number of concurrent
|
||
requests to Alicloud OSS.
|
||
|
||
## `alicloudoss` examples
|
||
|
||
### Default example
|
||
|
||
This example shows using Alicloud OSS as a storage backend.
|
||
|
||
```hcl
|
||
storage "alicloudoss" {
|
||
access_key = "abcd1234"
|
||
secret_key = "defg5678"
|
||
endpoint = "https://oss-us-west-1.aliyuncs.com"
|
||
bucket = "my-bucket"
|
||
}
|
||
```
|
||
|
||
[alicloudoss]: https://www.alibabacloud.com/product/oss
|