open-vault/website/source/docs/configuration/storage/couchdb.html.md
Jeff Mitchell 4387871bca Add max_parallel to mssql and postgresql (#3026)
For storage backends, set max open connections to value of max_parallel.
2017-07-17 13:04:49 -04:00

46 lines
1.4 KiB
Markdown
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: "CouchDB - Storage Backends - Configuration"
sidebar_current: "docs-configuration-storage-couchdb"
description: |-
The CouchDB storage backend is used to persist Vault's data in a CouchDB
database.
---
# CouchDB Storage Backend
The CouchDB storage backend is used to persist Vault's data in
[CouchDB][couchdb] table.
- **No High Availability** the CouchDB backend does not support high
availability.
- **Community Supported** the CouchDB 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 "couchdb" {
endpoint = "https://my-couchdb-dns.tld:5984/my-database"
username = "admin"
password = "admin"
}
```
## `couchdb` Parameters
- `endpoint` `(string: "")` Specifies your CouchDB endpoint. This can also be
provided via the environment variable `COUCHDB_ENDPOINT`.
- `username` `(string: "")` Specifies the user to authenticate as. This can
also be provided via the environment variable `COUCHDB_USERNAME`.
- `password` `(string: "")` Specifies the user to authenticate as. This can
also be provided via the environment variable `COUCHDB_PASSWORD`.
- `max_parallel` `(string: "128")` Specifies the maximum number of concurrent
requests to CouchDB.
[couchdb]: http://couchdb.apache.org/