# What is the default password for elasticsearch 8 alpha2

**URL:** <https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [October 7, 2021, 11:23am UTC](https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119 "2021-10-07T11:23:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swchandu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swchandu/32/95295_2.png) [@swchandu](https://discuss.elastic.co/u/swchandu)\
**Post date:** [October 7, 2021, 11:23am UTC](https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119/1 "2021-10-07T11:23:07Z")

</div>

Hi,

I am trying Elasticsearch 8 alpha release 2 version in docker container.  
can anyone provide me the default password/doc on this.

Thanks

found myself.. posting with variable like docker run --rm -d -e ELASTIC\_PASSWORD="test"

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 7, 2021, 11:36am UTC](https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119/2 "2021-10-07T11:36:29Z")

</div>

Welcome!

I believe it's autogenerated and you should be able to see it in logs. Isn't that the case?

have a look at: [Elastic Stack 8.0.0-alpha2 Up and Running](https://xeraa.net/blog/2021_elastic-stack-8-0-0-alpha2/)

> While Elasticsearch is (hopefully) starting up correctly and a good amount of logging information is scrolling by, watch out for a block similar to this:
> 
> ```auto
> -----------------------------------------------------------------
> 
> Password for the elastic user is: 2FdhvjxANfpCudI7URy4
> 
> Password for the kibana_system user is: E0elIR=kUbVka7f4AHZs
> 
> Please note these down as they will not be shown again.
> 
> You can use 'bin/elasticsearch-reset-elastic-password' at any time
> in order to reset the password for the elastic user.
> 
> You can use 'bin/elasticsearch-reset-kibana-system-password' at any time
> in order to reset the password for the kibana_system user.
> 
> -----------------------------------------------------------------
> 
> ```

---

<div class="post-metadata">

**Author:** ![swchandu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swchandu/32/95295_2.png) [@swchandu](https://discuss.elastic.co/u/swchandu)\
**Post date:** [October 7, 2021, 11:40am UTC](https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119/3 "2021-10-07T11:40:03Z")

</div>

> [@dadoonet](#):
>
> ```auto
> sword for the elastic user is: 2FdhvjxANfpCudI7URy4
> 
> Password for the kibana_system user is: E0elIR=kUbVka7f4AHZs
> 
> Please note these down as they will not be shown again.
> 
> ```

Thank you. I have noticed it now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2021, 11:40am UTC](https://discuss.elastic.co/t/what-is-the-default-password-for-elasticsearch-8-alpha2/286119/4 "2021-11-04T11:40:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
