1---
2layout: "docs"
3page_title: "Storage Backends - Configuration"
4sidebar_title: "<code>storage</code>"
5sidebar_current: "docs-configuration-storage"
6description: |-
7  The storage stanza configures the storage backend, which represents the
8  location for the durable storage of Vault's information. Each backend has
9  pros, cons, advantages, and trade-offs. For example, some backends support
10  high availability while others provide a more robust backup and restoration
11  process.
12---
13
14# `storage` Stanza
15
16The `storage` stanza configures the storage backend, which represents the
17location for the durable storage of Vault's information. Each backend has pros,
18cons, advantages, and trade-offs. For example, some backends support high
19availability while others provide a more robust backup and restoration process.
20For information about a specific backend, choose one from the navigation on the
21left.
22
23## Configuration
24
25Storage backend configuration is done through the Vault configuration file using
26the `storage` stanza:
27
28```hcl
29storage [NAME] {
30  [PARAMETERS...]
31}
32```
33
34For example:
35
36```hcl
37storage "file" {
38  path = "/mnt/vault/data"
39}
40```
41
42For configuration options which also read an environment variable, the
43environment variable will take precedence over values in the configuration
44file.
45