Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.33 KB

Storage_Backend.md

File metadata and controls

41 lines (31 loc) · 1.33 KB

Storage Backends

The Azure storage backend is used to persist Vault's data in an Azure Storage Container. The storage container must already exist and the provided account credentials must have read and write permissions to the storage container.

storage_type 'azure',
storage_options {
  accountName: 'my-storage-account',
  accountKey:  'abcd1234',
  container:   'container-efgh5678',
  environment: 'AzurePublicCloud',
}

The Cassandra storage backend is used to persist Vault's data in an Apache Cassandra cluster.

storage_type 'cassandra',
storage_options {
  hosts: 'localhost',
  consistency: 'LOCAL_QUORUM',
  protocol_version: '3',
}

The Filesystem storage backend stores Vault's data on the filesystem using a standard directory structure. It can be used for durable single server situations, or to develop locally where durability is not critical.

storage_type 'file'
storage_options {
  path: '/mnt/vault/data',
}