How to access logstash keystore in jvm.options?

Please provide example to access logstash keystore in jvm.options.

Can you explain what you want to do?

The logstash keystore is used on the configurations on logstash.yml and the pipeline configurations, not on the jvm.options file.

I need to secure truststore password given in jvm.options.
-Djavax.net.ssl.trustStorePassword=password

I do not think this is supported, so you can't use logstash-keystore to secure jvm.options.

The documentation only mentions logstash.yml and configuration files.

When Logstash parses the settings ( logstash.yml ) or configuration ( /etc/logstash/conf.d/*.conf ), it resolves keys from the keystore before resolving environment variables.

Is it possible to secure truststore password in jvm.options in any other way?

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