You are correct! I have described what I really want in an duplicate post (sorry for that) here: Create custom API Key for Enterprise Search/App Search in ECK through Kubernetes resource . I would like to configure my API Keys as part of the Kubernetes resource spec, similar to configuring Elasticsearch Users by using Elasticsearch File Realm.