Vault Salt Formula
Find a file
2018-05-15 02:41:05 -04:00
test/integration Merge some tests to make travis faster (less permutations) 2017-04-28 15:03:35 -05:00
vault Fixing config.hcl formatting-2 2018-05-15 02:41:05 -04:00
.gitignore Add support for tests 2017-04-25 15:05:41 -05:00
.kitchen.yml disable privileged and add centos test suite 2018-01-10 14:24:23 -05:00
.travis.yml Add support for tests 2017-04-25 15:05:41 -05:00
Gemfile Add support for tests 2017-04-25 15:05:41 -05:00
Gemfile.lock Add support for tests 2017-04-25 15:05:41 -05:00
LICENSE Add license file 2017-08-17 09:52:25 -05:00
pillar.example populate new conf values 2018-01-10 14:29:59 -05:00
README.rst Merge branch 'master' into master 2017-08-08 08:21:46 -05:00

======
Vault
======

.. image:: https://travis-ci.org/saltstack-formulas/vault-formula.svg?branch=master

Formulas for working with `Vault <http://www.vaultproject.io>`_

Available states
================

.. contents::
    :local:

``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 <http://kitchen.ci/>`_
for machine setup and `inspec <https://github.com/chef/inspec/>`_
for integration tests.

Requirements
------------

* Ruby
* Docker

::

    gem install bundler
    bundle install
    bundle exec kitchen test all