Vault secret proxy sidecar using AWS IAM Auth

Vault secret proxy sidecar can be used by any service (Primary App) running within a Kubernetes Pod in AWS. It can be used as a stub server during local development. See the following links for usage instructions:
Checkout the repository
From project root
make dep # Installs all necessary dependenciesmake install to install binary as ~/go/bin/vault-secret-proxy~/go/bin/vault-secrets-proxy-server --helpLaunch server
$ make runPlay with the server
curl -sS http://localhost:8888/v1/secrets | jq .{
"API_TOKEN": "token",
"DB_PASSWORD": "password"
}
$ http get http://localhost:8888/v1/secretsHTTP/1.1 200 OK
Content-Length: 30
Content-Type: application/json
Date: Sun, 03 Mar 2019 03:08:12 GMT
{
"API_TOKEN": "token",
"DB_PASSWORD": "password"
}
$ http get http://localhost:8888/v1/healthzHTTP/1.1 200 OK
Content-Length: 0
Date: Sun, 03 Mar 2019 03:08:54 GMT
Content type
Image
Digest
Size
10.5 MB
Last updated
over 7 years ago
docker pull yamaszone/vault-proxy