santthosh/aws-es-kibana

Well known USER environment variable overrides AUTH_USER

adborden opened this issue · 0 comments

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.