-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs
Description
The listing of passwords in elasticsearch.yml for accessing key stores is
dangerous. If someone steals the yml and key store file, they can open
the keystore and access to mimic the system. I wonder if there is a way to
create a tag for the passwords in the yml file that will have the process
prompt for the password at startup.
For example, in the yml:
marvel.agent.exporter.es.ssl.truststore.password: 123password
will become:
marvel.agent.exporter.es.ssl.truststore.password: -
and the system will then prompt the user for the password at start up:
Enter password for marvel.agent.exporter.es.ssl.truststore:
Hopefully, the password is a strong one. But it won't be recorded and
be visible.
If the yml file is stolen, it won't have sufficient information to crack the key
store. For multiple password entries, they will be prompted in their order
of appearance.
Thanks
Metadata
Metadata
Assignees
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs