Erica Thompson 0660ea6fac
Update README (#31244)
* 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>
2025-07-22 08:12:22 -07:00

85 lines
3.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

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: Swift configuration
description: >-
Configure Vault backend storage to use OpenStack Swift containers.
---
> [!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.
# Swift configuration for Vault backend storage
The Swift storage backend is used to persist Vault's data in an
[OpenStack Swift Container][swift].
- **No High Availability** the Swift storage backend does not support high
availability.
- **Community Supported** the Swift 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 "swift" {
auth_url = "https://..."
username = "admin"
password = "secret123!"
container = "my-storage-container"
}
```
## `swift` parameters
- `auth_url` `(string: <required>)` Specifies the OpenStack authentication
endpoint. This can also be provided via the environment variable `OS_AUTH_URL`.
- `container` `(string: <required>)` Specifies the name of the Swift
container. This can also be provided via the environment variable
`OS_CONTAINER`.
- `max_parallel` `(string: "128")` The maximum number of concurrent requests.
- `password` `(string: <required>)` Specifies the OpenStack password. This can
also be provided via the environment variable `OS_PASSWORD`.
- `tenant` `(string: "")` Specifies the name of the tenant. If left blank,
this will default to the default tenant of the username. This can also be
provided via the environment variable `OS_TENANT_NAME`.
- `username` `(string: <required>)` Specifies the OpenStack account/username.
This can also be provided via the environment variable `OS_USERNAME`.
- `region` `(string: "")` Specifies the name of the region. This can also be provided via the environment variable `OS_REGION_NAME`.
- `tenant_id` `(string: "")` - Specifies the id of the tenant. This can also be provided via the environment variable `OS_TENANT_ID`.
- `domain` `(string: "")` - Specifies the name of the user domain. This can also be provided via the environment variable `OS_USER_DOMAIN_NAME`.
- `project-domain` `(string: "")` - Specifies the name of the project's domain. This can also be provided via the environment variable `OS_PROJECT_DOMAIN_NAME`.
- `trust_id` `(string: "")` - Specifies the id of the trust. This can also be provided via the environment variable `OS_TRUST_ID`.
- `storage_url` `(string: "")` - Specifies storage URL from alternate authentication. This can also be provided via the environment variable `OS_STORAGE_URL`.
- `auth_token` `(string: "")` - Specifies auth token from alternate authentication. This can also be provided via the environment variable `OS_AUTH_TOKEN`.
## `swift` examples
### Default example
This example shows a default configuration for Swift.
```hcl
storage "swift" {
auth_url = "https://os.internal/v1/auth"
container = "container-239"
username = "user1234"
password = "pass5678"
}
```
[swift]: http://docs.openstack.org/developer/swift/