open-vault/website/pages/docs/configuration/storage/alicloudoss.mdx
Jeff Escalante df34412570 New Website! (#8154)
* new documentation website

* ci job adjustment

* update to latest version on downloads page

* remove transition-period scripts

* add netlify toml file

* fix docs patch

* fix ci config?

* revert go.mod changes

* a couple last markdown formatting fixes
2020-01-17 16:18:09 -08:00

67 lines
2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: docs
page_title: Alicloud OSS - Storage Backends - Configuration
sidebar_title: AliCloud OSS
description: |-
The Alicloud OSS storage backend is used to persist Vault's data in
an Alicloud OSS bucket.
---
# Alicloud OSS Storage Backend
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 = "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`.
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 = "oss-us-west-1.aliyuncs.com"
bucket = "my-bucket"
}
```
[alicloudoss]: https://www.alibabacloud.com/product/oss