It appears that python does not like the have hash signs in passwords when using the recommended RFC-1738. So, for example, a password like "myPassword#" will break authentication with ES.
This PR adds the following:
Option -a or --auth for authentication
Elasticsearch will prefer RFC-style auth when both are specified. I could be convinced to add validation for this case (where both are specified). This version does not have that as I saw it unnecessary for my purposes :)
Hi,
I created this pull request because I ran into the following issue, documented here:
https://github.com/elastic/elasticsearch-py/issues/470#issuecomment-256091032
It appears that python does not like the have hash signs in passwords when using the recommended RFC-1738. So, for example, a password like "myPassword#" will break authentication with ES.
This PR adds the following:
Elasticsearch will prefer RFC-style auth when both are specified. I could be convinced to add validation for this case (where both are specified). This version does not have that as I saw it unnecessary for my purposes :)
Let me know your thoughts!
-- Artur