Giter VIP home page Giter VIP logo

vault-token-helper-gopass's Introduction

frntn/vault-token-helper-gopass

gopass is a password manager for teams using GPG+GIT.

vault is a tool for managing secrets in modern computing environments.

From this blog post we learn how to create a token helper, allowing vault not to store its tokens on the filesystem but on a more secure storage area.

An example project, by Seth Vargo, implement an helper allowing vault to store its tokens to OSX Keychain

This project, implement an helper allowing vault to store its tokens to Gopass.

Prerequisites

A properly installed gopass ( >= 1.6.2 is required )

Also, vault tokens are not meant to be shared, so the vault helper stores the token in a private/ folder which can be a mounted store (handy if you only have 1 store setup and shared with your teams -- which may represent most gopass setup) :

# create a new store and mount it
gopass init --store private --path /path/to/your/new/store

# or mount an existing store
gopass mounts add private /path/to/your/exising/store

Usage

Start a server and update your ~/.vault file to use a custom token helper

$ ./demo.sh

Kill the demo server and cleanup folder

$ ./demo.sh clean

Context

Successfully tested on Ubuntu Xenial

vault-token-helper-gopass's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.