Vault

image

Formulas for working with Vault

Available states

vault

Install the vault binary

vault.server

Install and configure the vault server

To use it, just include vault.server in your top.sls, and configure it using pillars:

vault:
  version: 0.7.0
  listen_protocol: tcp
  listen_port: 8200
  listen_address: 0.0.0.0
  tls_disable: 0
  default_lease_ttl: 24h
  max_lease_ttl: 24h
  self_signed_cert:
    enabled: false
  backend: {}
  dev_mode: true
  service:
    type: systemd

Testing

Testing is done with Test Kitchen for machine setup and inspec for integration tests.

Requirements

  • Ruby
  • Docker
gem install bundler
bundle install
bundle exec kitchen test all