1---
2layout: docs
3page_title: CouchDB - Storage Backends - Configuration
4sidebar_title: CouchDB
5description: |-
6  The CouchDB storage backend is used to persist Vault's data in a CouchDB
7  database.
8---
9
10# CouchDB Storage Backend
11
12The CouchDB storage backend is used to persist Vault's data in
13[CouchDB][couchdb] table.
14
15- **No High Availability** – the CouchDB backend does not support high
16  availability.
17
18- **Community Supported** – the CouchDB storage backend is supported by the
19  community. While it has undergone review by HashiCorp employees, they may not
20  be as knowledgeable about the technology. If you encounter problems with them,
21  you may be referred to the original author.
22
23```hcl
24storage "couchdb" {
25  endpoint = "https://my-couchdb-dns.tld:5984/my-database"
26  username = "admin"
27  password = "admin"
28}
29```
30
31## `couchdb` Parameters
32
33- `endpoint` `(string: "")` – Specifies your CouchDB endpoint. This can also be
34  provided via the environment variable `COUCHDB_ENDPOINT`.
35
36- `username` `(string: "")` – Specifies the user to authenticate as. This can
37  also be provided via the environment variable `COUCHDB_USERNAME`.
38
39- `password` `(string: "")` – Specifies the user to authenticate as. This can
40  also be provided via the environment variable `COUCHDB_PASSWORD`.
41
42- `max_parallel` `(string: "128")` – Specifies the maximum number of concurrent
43  requests to CouchDB.
44
45[couchdb]: http://couchdb.apache.org/
46