I want to know how i can provide my own API key in ELK version 8.0.0
I did try - "xpack.security.authc.api_key.enabled=true"
- "xpack.security.authc.api_key.key="
but no luck getting xpack.security.authc.api_key.key unknow setting in docker logs.
So wanted to know can we provide our own API key or not.
We want to implement this as we are monitoring a large number of machines and if ELK is completely destroyed, we can make it up from start and use the same old API key so that we do not need to rechange the API key in each beat's setup in machine for monitoring.
There is no such setting xpack.security.authc.api_key.key.
Since you are using version 8.0, API key is enabled automatically. So you don't need to configure anything. In earlier versions, you need to enable it with xpack.security.authc.api_key.enabled.
Yes I was thinking to use a old API key for a same cluster UID if we can do this it would help us a lot.
e.g if we have an ELK cluster running in docker, but we remove the entire container and recreated a container. so instead of creating a new API key we would love to use old API key so that we only do changes in ELK not in beats like changing API key in yml files. I hope this help
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.