Skip to content

skuid/es-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-proxy

es-proxy is a proxy to AWS's ElasticSearch that signs request with a given set of AWS credentials.

Usage

export AWS_ACCESS_KEY_ID=<key-id>
export AWS_SECRET_ACCESS_KEY=<access-key>
export AWS_REGION=<region>
./es-proxy -domain search-my-cluster.us-west-2.es.amazonaws.com

Help

Usage of ./es-proxy:
      --auth-email-domain string   allowed user domains
      --auth-enable                enable Google OIDC authentication
      --domain string              The elasticsearch domain to proxy
      --metrics-port int           management endpoint port (default 3001)
      --port int                   Listening port for proxy (default 3000)
      --region string              AWS region for credentials (default "us-west-2")

Contributing

All code in the /vendor director is managed by dep

Wishlist

  • Add tests/CI
  • Add docker builds to CI

License

MIT License. See License for full text