# Updating Logstash Keystore Key-Values Externally

**URL:** https://discuss.elastic.co/t/updating-logstash-keystore-key-values-externally/283611
**Category:** Logstash
**Created:** [September 8, 2021, 5:52am UTC](https://discuss.elastic.co/t/updating-logstash-keystore-key-values-externally/283611 "2021-09-08T05:52:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nitvakhare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nitvakhare/32/88159_2.png) [@nitvakhare](https://discuss.elastic.co/u/nitvakhare)
#### Post date: [September 8, 2021, 5:52am UTC](https://discuss.elastic.co/t/updating-logstash-keystore-key-values-externally/283611/1 "2021-09-08T05:52:43Z")

</div>

Hi,

I wanted to know that if there is any option to update the existing key-value pair in the Logstash keystore externally. I am storing 'username' and 'password' fields in this keystore manually for now. But, I want to update the password programmatically by using external script.

Do let me know if this is possible.

Thanks,  
Nitz

---

<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 6, 2021, 5:53am UTC](https://discuss.elastic.co/t/updating-logstash-keystore-key-values-externally/283611/2 "2021-10-06T05:53:11Z")

</div>

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