ENV var XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
is not picked up for docker
#57773
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Security
Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Kibana version: 7.6.0
Original install method (e.g. download page, yum, from source, etc.): docker
Description of the problem including expected versus actual behavior:
Steps to reproduce:
xpack.encryptedSavedObjects.encryptionKey
via environment variable.E.g.
docker run -e ELASTICSEARCH_USERNAME=foo -e ELASTICSEARCH_PASSWORD=bar -e XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY=fhjskloppd678ehkdfdlliverpoolfcr -p 5601:5601 docker.elastic.co/kibana/kibana:8.0.0-SNAPSHOT
The ENV var should be picked up and set the encryption key, but the log files show a message like
"message":"APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml."
cc @kobelb
The text was updated successfully, but these errors were encountered: