For storage backends, set max open connections to value of max_parallel.
1.4 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
docs | CouchDB - Storage Backends - Configuration | docs-configuration-storage-couchdb | 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 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.
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 variableCOUCHDB_ENDPOINT
. -
username
(string: "")
– Specifies the user to authenticate as. This can also be provided via the environment variableCOUCHDB_USERNAME
. -
password
(string: "")
– Specifies the user to authenticate as. This can also be provided via the environment variableCOUCHDB_PASSWORD
. -
max_parallel
(string: "128")
– Specifies the maximum number of concurrent requests to CouchDB.