# Specify known password for the elasticsearch user

**URL:** <https://discuss.elastic.co/t/specify-known-password-for-the-elasticsearch-user/210239>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [December 2, 2019, 8:22pm UTC](https://discuss.elastic.co/t/specify-known-password-for-the-elasticsearch-user/210239 "2019-12-02T20:22:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jsymm](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@jsymm](https://discuss.elastic.co/u/jsymm)\
**Post date:** [December 2, 2019, 11:55pm UTC](https://discuss.elastic.co/t/specify-known-password-for-the-elasticsearch-user/210239/2 "2019-12-02T23:55:54Z")

</div>

For what its worth, I used this approach and it works fine. It does require creating the secret in advance... [How to give built password in ECK CR](https://discuss.elastic.co/t/how-to-give-built-password-in-eck-cr/190742)

---

_[View the full topic](https://discuss.elastic.co/t/specify-known-password-for-the-elasticsearch-user/210239)._
