This commit is contained in:
thomashaw
2021-01-11 19:03:53 +00:00
parent 6774a52c06
commit c8dfed56a2

View File

@@ -1,7 +1,6 @@
<% require 'securerandom'; key = SecureRandom.hex -%>
server.host: <%= @elasticsearch_ip %>
server.port: <%= @kibana_port %>
elasticsearch.hosts: ["http://<%= @elasticsearch_ip %>:<%= @elasticsearch_port %>"]
xpack.security.encryptionKey: "<%= key %>"
xpack.encryptedSavedObjects.encryptionKey: "<% key %>"
xpack.reporting.encryptionKey: "<% key %>"
xpack.security.encryptionKey: "<%= SecureRandom.hex %>"
xpack.encryptedSavedObjects.encryptionKey: "<% SecureRandom.hex %>"
xpack.reporting.encryptionKey: "<% SecureRandom.hex %>"