Elastic search key, password encryption

is it possible to use a encrypted key between client and elasticsearch?
i know the question is not very clear because i have little knowledge about the topic.
What i need is a encryption system between the people who send data through http requests and Elasticsearch

Yes, you can use HTTPS between the clients.

Please check the documentation.