• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Vault
  • Install
  • Tutorials
  • Documentation
  • API
  • Integrations
  • Try Cloud(opens in new tab)
  • Sign up
Vault Home

Documentation

Skip to main content
  • Documentation
  • What is Vault?
  • Use Cases

  • Browser Support
  • Installing Vault
    • Overview
    • replication
    • sentinel
      • Overview
      • Aerospike
      • Alicloud OSS
      • Azure
      • Cassandra
      • CockroachDB
      • Consul
      • CouchDB
      • DynamoDB
      • Etcd
      • Filesystem
      • FoundationDB
      • Google Cloud Spanner
      • Google Cloud Storage
      • In-Memory
      • Manta
      • MSSQL
      • MySQL
      • OCI Object Storage
      • PostgreSQL
      • Integrated Storage (Raft)
      • S3
      • Swift
      • Zookeeper
    • telemetry
    • ui
    • Log Completed Requests
    • Entropy Augmentation
      ENTENT
    • kms_library
      ENTENT

  • Vault Integration Program
  • Vault Interoperability Matrix
  • Troubleshoot






  • Glossary


  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Vault
  3. Documentation
  4. Configuration
  5. storage
  6. Alicloud OSS
  • Vault
  • v1.11.x
  • v1.10.x
  • v1.9.x
  • v1.8.x
  • v1.7.x
  • v1.6.x
  • v1.5.x
  • v1.4.x

»Alicloud OSS Storage Backend

The Alicloud OSS storage backend is used to persist Vault's data in an Alicloud OSS 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.

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.

storage "alicloudoss" {
  access_key = "abcd1234"
  secret_key = "defg5678"
  endpoint   = "oss-us-west-1.aliyuncs.com"
  bucket     = "my-bucket"
}
Edit this page on GitHub

On this page

  1. Alicloud OSS Storage Backend
  2. alicloudoss Parameters
  3. alicloudoss Examples
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)