Giter VIP home page Giter VIP logo

svault's Introduction

SVault

Simple key-value secret Vault inspired by Hasicorp Vault. Project tries to explore the inner working of vault engine with golang. SVault uses AES256-GCM encryption for secret store. This is a exploratory project & intend to stay as Experimental.

  • Simple KV storage for secrets.
  • Industry standard aes256-gcm secret encryption.
  • Easy cli interface.

Usage guide

tar -xvf svault_x.x.x_darwin_amd64.tar.gz
chmod +x svault
sudo mv svault /usr/local/bin
  • Init svault secret engine which generates svault masterkey.
svault init
  • Store & get secret from key vault.
export MASTER_KEY=<master_key>

svault store github_token xxxxxxxx
svault list
svault get github_token

Basic CLI usage

Usage:
  svault [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  delete      Delete secret from vault store
  get         Get secret from vault store
  help        Help about any command
  init        Init vault secret engine
  list        List stored secret from vault store (Flages: -f, --freshInit)
  status      Get the status of the vault engine
  store       Store secret to vault store

Flags:
  -h, --help               help for get
  -m, --masterkey string   Pass masterkey as flag

Build Process

Build using go environment.

git clone https://github.com/ragul28/svault
cd svault
make build

svault's People

Contributors

ragul28 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

shortontech

svault's Issues

Implement persistence storage using key-value DB

Issue created to track & kickoff the key-value db feature implementation.

  • Current candidate for KV databases are boltdb & badgerdb.
  • Storage needs to be implemented distributed storage in mind.

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.