mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-16 00:01:13 +01:00
* website: replace deprecated <tt> with <code> in front matter sidebar_title * website: wrap front matter sidebar_title in <code> for commands pages
1.3 KiB
1.3 KiB
layout, page_title, sidebar_title, sidebar_current, description
| layout | page_title | sidebar_title | sidebar_current | description |
|---|---|---|---|---|
| docs | Storage Backends - Configuration | <code>storage</code> | docs-configuration-storage | The storage stanza configures the storage backend, which represents the location for the durable storage of Vault's information. Each backend has pros, cons, advantages, and trade-offs. For example, some backends support high availability while others provide a more robust backup and restoration process. |
storage Stanza
The storage stanza configures the storage backend, which represents the
location for the durable storage of Vault's information. Each backend has pros,
cons, advantages, and trade-offs. For example, some backends support high
availability while others provide a more robust backup and restoration process.
For information about a specific backend, choose one from the navigation on the
left.
Configuration
Storage backend configuration is done through the Vault configuration file using
the storage stanza:
storage [NAME] {
[PARAMETERS...]
}
For example:
storage "file" {
path = "/mnt/vault/data"
}
For configuration options which also read an environment variable, the environment variable will take precedence over values in the configuration file.