Forked from coreos/aws-auth-proxy. Add support for cn-north-1 & cn-northwest-1.
10K+
#aws-auth-proxy
##Installation
pre-reqs:
#requires go1.5
export GO15VENDOREXPERIMENT=1
mkdir -p $GOPATH/src/github.com/leeeboo
cd $GOPATH/src/github.com/leeeboo
git clone https://github.com/leeeboo/aws-auth-proxy
cd aws-auth-proxy
glide install
go build github.com/leeeboo/aws-auth-proxy
##Example
Go
# aws elasticsearch example
./aws-auth-proxy \
-access-key=xxx \
-secret-key=xxxx \
-service-name=es \
-region-name=<your-aws-region> \
-upstream-host=<your-aws-elastic-search-endpoint> \
-upstream-scheme=https \
-listen-address=":9200"
Docker
# aws elasticsearch example
docker run -it --rm -p 9200:9200 leeeboo/aws-auth-proxy \
-access-key=xxx \
-secret-key=xxxx \
-service-name=es \
-region-name=<your-aws-region> \
-upstream-host=<your-aws-elastic-search-endpoint> \
-upstream-scheme=https \
-listen-address=":9200"
Your proxied elasticsearch endpoint is now here: http://localhost:9200
No more securing elastic search endpoints with IP addresses!
Content type
Image
Digest
Size
179.7 MB
Last updated
almost 9 years ago
docker pull leeeboo/aws-auth-proxy