How to read filebeat keystore?

Hi,
I am using Powershell Desired State Configuration (DSC) to manage filebeat on my VM. In the DSC script, I need to be able to compare the secure strings used in Filebeat configuration through keystore with the source to update the secure strings and restart Filebeat (if needed).
I have not been able to find a way to read the keystore data to compare with the source of the secrets. Is there a way to do so? Or if there is a way to attach some readable metadata in keystore, that also might work for me. Thanks in advance!

Hi @Aparna_R Welcome to the community!

Unfortunately, It looks like you can not read the values after they have been added...

No that does not seem to be an option either...

This is a very simple keystore.

1 Like

Thanks for the prompt response! Appreciate it!
Is there a way to create configuration such thay filebeat can read password or connection string from windows credential manager? That way, I need not use the keystore at all.

You will need to write your own scripting. Unfortunately, I am not a Windows expert...
You can also use Environment Variables.

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