Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j4ng5y/environmentalist
An API to consolodate secret managers
https://github.com/j4ng5y/environmentalist
Last synced: about 1 month ago
JSON representation
An API to consolodate secret managers
- Host: GitHub
- URL: https://github.com/j4ng5y/environmentalist
- Owner: j4ng5y
- Created: 2019-07-15T19:33:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T17:14:00.000Z (over 5 years ago)
- Last Synced: 2023-03-21T20:33:42.652Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Environmentalist
`[tree_hugging_gopher.jpg]`
## Usage
```
Environmentalist is an application that provides a consistent API for using a number of secrets management tools including:
* Hashicorp Vault
* AWS SSM
* Ansible Vault
etc...The Server runs as both a RESTful service as well as a gRPC service so it should be usable for almost any situation.
A RESTful request to access a secret looks something like this:
curl -X GET https://environmentalist:5005/hashicorp-vault/get/mySharedSecretA RESTful request to store a new secret looks something like this:
curl -X POST -H "Content-Type: application/json" -d '{"mySharedSecret": "thisIsASuperSecretPassword"}' https://environmentalist:5005/hashicorp-vault/new/mySharedSecretA RESTful request to delete a secret looks something like this:
curl -X DELETE https://environmentalist:5005/hashicorp-vault/delete/mySharedSecretA RESTful request to modify a secret looks something like this:
curl -X PUT -H "Content-Type: application/json" -d '{"mySharedSecret": "thisIsANewSuperSecretPassword"}' https://environmentalist:5005/hashicorp-vault/update/mySharedSecretPlease see https://github.com/j4ng5y/envrionmentalist for a full API breakdown.
Usage:
environmentalist [flags]
environmentalist [command]Available Commands:
help Help about any command
run run the environmentalist daemon
stop stop the envrionmentalist daemonFlags:
-s, --aws-ssm the aws-ssm flag tells envrionmentalist that we want to use aws ssm
--aws-ssm-access-key-id string the aws-ssm-access-key-id flag tells envrionmentalist what Access Key to use to connect to AWS with
--aws-ssm-credential-type string the aws-ssm-credential-type flag tells environmentalist what type of credentials to look for to access AWS. (Options:"profile", "manual", "role" (default "profile")
--aws-ssm-profile-name string the aws-ssm-profile-name flag tells envrionmentalist what AWS profile to connect to AWS with (default "Default")
--aws-ssm-region string the aws-ssm-region flag tells envrionmentalist what AWS region to connect to (default "us-east-1")
--aws-ssm-secret-access-key string the aws-ssm-secret-access-key flag tells envrionmentalist what Secret Key to use to connect to AWS with
-v, --hashicorp-vault the hashicorp-vault flag tells environmentalist that we want to use the hashicorp vault
--hashicorp-vault-auth-type string the hashicorp-vault-auth-type flag tells envrionmentalist what authentication type to use to log into the hashi-corp vault (default "approle")
-h, --help help for environmentalist
--version version for environmentalistUse "environmentalist [command] --help" for more information about a command.
```