# How to view contents of heartbeat keystore

**URL:** https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933
**Category:** Beats
**Tags:** heartbeat
**Created:** [October 6, 2022, 6:09am UTC](https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933 "2022-10-06T06:09:09Z")
**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 6, 2022, 6:09am UTC](https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933/1 "2022-10-06T06:09:09Z")

</div>

Hi,  
I am trying to check if we can display the contents and values of the heartbeat.keystore.  
Is there any command to display the entries and values?  
I am unable to find the documentation on this. can someone help me in this?

thanks

---

<div class="post-metadata">

### Author: ![abdulz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulz/32/97601_2.png) [@abdulz](https://discuss.elastic.co/u/abdulz)
#### Post date: [October 6, 2022, 9:42am UTC](https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933/2 "2022-10-06T09:42:23Z")

</div>

Hi @swchandu ,

You can list only the keys with the [list](https://www.elastic.co/guide/en/beats/heartbeat/master/command-line-options.html#keystore-command) command, or override a key with a same/different value, but you can't list the values via command.

Though you can consume the values in monitor definitions. Can you describe what's your use case of displaying the values stored in the keystore?

---

<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, 2022, 4:26am UTC](https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933/3 "2022-10-07T04:26:47Z")

</div>

> [@abdulz](#):
>
> Though you can consume the values in monitor definitions. Can you describe what's your use case of displaying the values stored in the keystore?

Before we deploy, I would like to verify whether the key values are given correctly or not.

---

<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: [October 31, 2022, 4:27am UTC](https://discuss.elastic.co/t/how-to-view-contents-of-heartbeat-keystore/315933/4 "2022-10-31T04:27:00Z")

</div>

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