Skip to content

Gatekeeper is an open source system for interacting with secrets in AWS Secrets Manager

License

Notifications You must be signed in to change notification settings

tomweston/gatekeeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GΛTEKEEPER

Join the chat at https://gitter.im/gatekeeper-talk/Lobby


Gatekeeper is an open source system for interacting with secrets in AWS Secrets Manager; providing basic mechanisms for creation, and rotation of secrets.

To start using Gatekeeper

Download Gatekeeper - Linux, MacOS and Windows

Please download the proper package for your operating system and architecture. You can find the SHA256 checksums for Gatekeeper here and you can verify the checksums signature file which has been signed using AXOE's GPG key.

Overview

Gatekeeper is built on cobra and utilises a structure of commands, arguments & flags. It supports Fully POSIX-compliant flags (including short & long versions)

Requirements

Gatekeeper uses the AWS_PROFILE environment variable


Commands

ls - List secrets in a specific region:

gatekeeper ls --region eu-west-2

get - Get the value of a secret:

gatekeeper get --secret nameofsecret --region eu-west-2

add - Add a new secret:

gatekeeper add --name nameofsecret --region eu-west-2 --description "exampledescription" --value "{\"username\":\"foo\",\"password\":\"bar\"}"

update - Update a secret:

gatekeeper update --secret nameofsecret --region eu-west-2 --value "{\"username\":\"foo\",\"password\":\"foobar\"}"

del - Delete a secret:

gatekeeper del --secret nameofsecret --region eu-west-2

To start developing Gatekeeper

This repository hosts all information about building Gatekeeper from source, how to contribute code and documentation.

If you want to build Gatekeeper right away there are two options:

You have a working [Go environment].
$ go get -d github.com/axoe/gatekeeper
$ cd $GOPATH/src/github.com/axoe/gatekeeper
$ gatekeeper
You have a working [Docker environment].
Build:
$ git clone https://github.com/axoe/gatekeeper
$ cd gatekeeper
$ docker build -t gatekeeper .

Run Gatekeeper in Docker

By default the Docker image does not have an ENTRYPOINT set. Uncomment the last line on the Dockerfile to launch Gatekeeper when the container starts

Run:
$ docker run -it gatekeeper

Once you are inside the container you need to export your AWS ACCESS KEYS

/# export AWS_ACCESS_KEY_ID=AKIAXXXXXXXXXX
/# export AWS_SECRET_ACCESS_KEY=XxXxXxXXXX
/# gatekeeper ls --region eu-west-2

About

Gatekeeper is an open source system for interacting with secrets in AWS Secrets Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.1%
  • Makefile 3.9%