GithubHelp home page GithubHelp logo

becked / hashicorp-vault-ansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avalanchedev/hashicorp-vault-ansible

0.0 2.0 0.0 6 KB

Deploy a production ready Vault environment with Ansible (https://www.vaultproject.io)

License: MIT License

HCL 100.00%

hashicorp-vault-ansible's Introduction

Hashicorp-Vault-Ansible

Deploy a production ready Vault environment with Ansible

Setup

  1. First, you need to install Consul. NOTE: You can use a different storage backend, just be make sure to edit the vaultconfig.hcl files in roles/vaultdeploy/files
  2. Edit the hosts file to add in the host you are deploying to.
  3. Run the following command: ansible-playbook deploy.yml -i hosts
  4. Be sure to save all of the keys that get generated by the Initialize the Vault step. THIS IS EXTREMELY IMPORTANT, if you lose these keys you will not be able to access your vault server. It is reccommended to distribute the keys among people, such that no one person has access to unlocking the entire vault. Keys should be stored with PGP encryption.
  5. Once this is finished, you'll need to unseal the vault. Follow the instructions here. You will need the secrets that you just saved to do this.

At this point, your vault server should be up and running.

System Requirements

Vault itself will vary in the system requirements needed, but as far as the operating system goes, this playbook has only been tested with Debian Jessie and Centos 7. Presumably, it works on at least Ubuntu 16.04, and potentially Ubuntu 14.04, but both are untested. If anyone has success deploying on a different OS, let me know and I will update this.

hashicorp-vault-ansible's People

Contributors

gustavlasko avatar nh-99 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.