santthosh / aws-es-kibana

AWS ElasticSearch Kibana Proxy
Apache License 2.0
325 stars 133 forks source link

Well known USER environment variable overrides AUTH_USER #69

Open adborden opened 3 years ago

adborden commented 3 years ago

USER is set in most shells, including in Cloud Foundry and Heroku and will override AUTH_USER if set which can be confusing.

$ USER=vcap AUTH_USER=kibana AUTH_PASSWORD=secret aws-es-kibana --region us-gov-west-1 https://localhost:51409

Try to login with kibana/secret and you'll get a 401.