• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Vault
  • Install
  • Tutorials
  • Documentation
  • API
  • Integrations
  • Try Cloud(opens in new tab)
  • Sign up
Vault Home

Documentation

Skip to main content
  • Documentation
  • What is Vault?
  • Use Cases

  • Browser Support
  • Installing Vault
    • Overview
    • replication
    • sentinel
      • Overview
      • Aerospike
      • Alicloud OSS
      • Azure
      • Cassandra
      • CockroachDB
      • Consul
      • CouchDB
      • DynamoDB
      • Etcd
      • Filesystem
      • FoundationDB
      • Google Cloud Spanner
      • Google Cloud Storage
      • In-Memory
      • Manta
      • MSSQL
      • MySQL
      • OCI Object Storage
      • PostgreSQL
      • Integrated Storage (Raft)
      • S3
      • Swift
      • Zookeeper
    • telemetry
    • ui
    • Log Completed Requests
    • Entropy Augmentation
      ENTENT
    • kms_library
      ENTENT

  • Vault Integration Program
  • Vault Interoperability Matrix
  • Troubleshoot






  • Glossary


  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Vault
  3. Documentation
  4. Configuration
  5. storage
  6. Aerospike
  • Vault
  • v1.11.x
  • v1.10.x
  • v1.9.x
  • v1.8.x
  • v1.7.x
  • v1.6.x
  • v1.5.x
  • v1.4.x

»Aerospike Storage Backend

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

  • No High Availability – the Aerospike backend does not support high availability.

  • Community Supported – the Aerospike 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 "aerospike" {
  hostname = "localhost"
  port = "3000"
  namespace = "test"
  set = "vault"
  username = "admin"
  password = "admin"
}

aerospike Parameters

  • hostname (string: "127.0.0.1") – Specifies the Aerospike seed hostname.

  • port (string: "3000") – Specifies the Aerospike seed port.

  • hostlist (string: "") – Aerospike host list, a comma separated list of potential hosts to seed the cluster.

  • namespace (string: "test") – Specifies the Aerospike storage namespace.

  • set (string: "") – Specifies the Aerospike storage set.

  • username (string: "") – Specifies the user used to authenticate with Aerospike cluster. Access Control is available only in Aerospike Server Enterprise Edition. Leave empty for clusters running without restricted access.

  • password (string: "") – Specifies the password used to authenticate with Aerospike cluster. Access Control is available only in Aerospike Server Enterprise Edition. Leave empty for clusters running without restricted access.

  • cluster_name (string: "") - Specifies the expected Aerospike cluster name. If set, server nodes must return this cluster ID in order to join the client's view of the cluster. Should only be set when connecting to servers that support the "cluster-name" info command. (v3.10+)

  • auth_mode (string: "INTERNAL") - Specifies the authentication mode when user/password is defined (INTERNAL/EXTERNAL).

  • timeout (int: 30000) - Initial host connection timeout duration in milliseconds.

  • idle_timeout (int: 55000) - Connection idle timeout in milliseconds. Every time a connection is used, its idle deadline will be extended by this duration. When this deadline is reached, the connection will be closed and discarded from the connection pool.

Edit this page on GitHub

On this page

  1. Aerospike Storage Backend
  2. aerospike Parameters
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)