All Projects → saltstack-formulas → vault-formula

saltstack-formulas / vault-formula

Licence: other
docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Programming Languages

ruby
36898 projects - #4 most used programming language
Jinja
831 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
SaltStack
118 projects

Projects that are alternatives of or similar to vault-formula

generate-secure-pillar
Salt Secure Pillar Tool
Stars: ✭ 30 (+100%)
Mutual labels:  saltstack
vault-monkey
Extract secrets from your vault in a multi-machine cluster environment.
Stars: ✭ 12 (-20%)
Mutual labels:  vault
pepperboard
Simple and modular dashboard toolkit for SaltStack
Stars: ✭ 26 (+73.33%)
Mutual labels:  saltstack
hubble
hubbling the universe nebula by nebula
Stars: ✭ 18 (+20%)
Mutual labels:  vault
vauth
VMware vSphere VM Identity Platform
Stars: ✭ 32 (+113.33%)
Mutual labels:  vault
stork
Retrieve tokens from Vault for your EC2 instances.
Stars: ✭ 12 (-20%)
Mutual labels:  vault
vault-plugin-secrets-wireguard
Vault's plugin for managing server and dynamic client configurations
Stars: ✭ 41 (+173.33%)
Mutual labels:  vault
ssh-crypt
🔒 Share AES-256 encrypted vault file with your teammates using only ssh authorized_keys!
Stars: ✭ 17 (+13.33%)
Mutual labels:  vault
hookpick
A tool to manage some operational concepts of Hashicorp Vault
Stars: ✭ 83 (+453.33%)
Mutual labels:  vault
marathon-vault-plugin
Marathon plugin which injects Vault secrets via environment variables
Stars: ✭ 30 (+100%)
Mutual labels:  vault
ptolemy
Elixir Application Environment Variable Management
Stars: ✭ 13 (-13.33%)
Mutual labels:  vault
saltshaker frontend
saltshaker_plus frontend
Stars: ✭ 65 (+333.33%)
Mutual labels:  saltstack
puppet-vault
Puppet module to manage Vault (https://vaultproject.io)
Stars: ✭ 41 (+173.33%)
Mutual labels:  vault
vaultrs
An asynchronous Rust client library for the Hashicorp Vault API
Stars: ✭ 63 (+320%)
Mutual labels:  vault
obsidian-publish-mkdocs
A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Stars: ✭ 219 (+1360%)
Mutual labels:  vault
syslog-ng-formula
docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Stars: ✭ 13 (-13.33%)
Mutual labels:  saltstack
vault
Vault - cross-platform GPG KV store for teams made easy
Stars: ✭ 35 (+133.33%)
Mutual labels:  vault
vagrant-vault-consul-docker-monitoring
No description or website provided.
Stars: ✭ 20 (+33.33%)
Mutual labels:  vault
salt-shared
salt-shared - Salt states for Ubuntu/Debian Manjaro/Arch
Stars: ✭ 17 (+13.33%)
Mutual labels:  saltstack
vault-ec2auth
A simple agent to authenticate an AWS EC2 instance against Hashicorp Vault
Stars: ✭ 12 (-20%)
Mutual labels:  vault

vault-formula

Travis CI Build Status Semantic Release

Formulas for working with Vault.

General notes

See the full SaltStack Formulas installation and usage instructions.

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning.

See Formula Versioning Section for more details.

Contributing to this repo

Commit message formatting is significant!!

Please see How to contribute for more details.

Available states

vault

Install the vault binary

vault.server

Install and configure the vault server

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

vault:
  version: 1.1.0
  platform: linux_amd64
  dev_mode: True
  verify_download: True
  config:
    storage:
      file:
        path: /var/lib/vault/data
    listener:
      tcp:
        address: "127.0.0.1:8200"
        tls_disable: True
        tls_cert_file: ""
        tls_key_file: ""
    default_lease_ttl: 768h
    max_lease_ttl: 768h

Issues

Vault v0.10.0 introduces a revamped versioned kv backend (version 2), with a breaking change in the paths used to read/write data. This backend is enabled by default when dev mode is enabled.

The Salt execution modules are not compatible with this new backend, therefore if you intend to access Vault in dev mode using the Salt modules, it's suggested to use an outdated, but compatible version of Vault by setting a pillar value e.g. version: 0.9.6.

Testing

Linux testing is done with kitchen-salt.

Requirements

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

kitchen converge

Creates the docker instance and runs the vault main states, ready for testing.

kitchen verify

Runs the inspec tests on the actual instance.

kitchen destroy

Removes the docker instance.

kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

kitchen login

Gives you SSH access to the instance for manual testing.

Testing with Vagrant

Windows/FreeBSD/OpenBSD testing is done with kitchen-salt.

Requirements

  • Ruby
  • Virtualbox
  • Vagrant

Setup

$ gem install bundler
$ bundle install --with=vagrant
$ bin/kitchen test [platform]

Where [platform] is the platform name defined in kitchen.vagrant.yml, e.g. windows-81-latest-py3.

Note

When testing using Vagrant you must set the environment variable KITCHEN_LOCAL_YAML to kitchen.vagrant.yml. For example:

$ KITCHEN_LOCAL_YAML=kitchen.vagrant.yml bin/kitchen test      # Alternatively,
$ export KITCHEN_LOCAL_YAML=kitchen.vagrant.yml
$ bin/kitchen test

Then run the following commands as needed.

bin/kitchen converge

Creates the Vagrant instance and runs the vault main states, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the Vagrant instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you RDP/SSH access to the instance for manual testing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].