How should I handle configuration and secrets in Elasticsearch?
Configuration must be available to the application without exposing credentials in source control, logs or browser code. What belongs in the runtime and which access controls matter?
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Configuration must be available to the application without exposing credentials in source control, logs or browser code. What belongs in the runtime and which access controls matter?
A repeatable development environment is targeted using a Docker Compose Elasticsearch service with a pinned image tag and a named volume, together with an Elasticsearch Java API Client 8.x in the application build. The goal is consistent version alignment across developer machines for the cluster and the client library. Version alignment is a documented cons
Scoping API keys below creator privileges We need to issue Elasticsearch API keys for an external integration that must not reuse the built-in elastic user or inherit full cluster access. The documented behavior is that a key created via POST /_security/api_key inherits all privileges of the creating user unless role_descriptors are supplied. Those descripto
Index Pattern Field Metadata Refresh Kibana uses Index Patterns to map Elasticsearch indices to the user interface, utilizing a field discovery process to populate the available fields list. To minimize load on the Elasticsearch Cluster State API, the system employs an internal cache for this metadata. In environments with a high cardinality of fields, trigg
Goal Run automated integration tests against a locally started Elasticsearch 8.x node without supplying production‑grade credentials, while keeping the test environment representative of a secured cluster. Constraints arise because Elasticsearch 8.0 enables X‑Pack security by default, demanding TLS‑encrypted HTTP and rejecting unauthenticated requests; disab
When performing a rolling upgrade of Kibana instances behind a load balancer, the system triggers an automated saved-object migration on the .kibana system indices upon the first instance's startup. While Elasticsearch supports rolling minor-version upgrades, Kibana requires a strict version match between the application and the cluster to function. The prim
Integration boundary Elasticsearch exposes a REST API that returns search responses, mappings, validation errors, and deprecation metadata as structured data. Kibana transforms those responses into user-facing screens, forms, tables, and notifications. The unresolved decision is where accessibility responsibility ends at this API boundary: whether Elasticsea
Problem Context Sulu relies on Symfony’s HttpClient, wrapped by the Elastica library, to talk to Elasticsearch. When the Elasticsearch endpoint is HTTPS and presents a self‑signed or otherwise untrusted certificate, the client throws a TransportExceptionInterface with the message SSL certificate problem: unable to get local issuer certificate . Configuration
Goal Migrate a small application to a new Elasticsearch index without downtime using the Reindex API while the source index continues to accept writes. Constraint The Reindex API copies documents from a point-in-time view and does not automatically capture or replay writes that occur after the operation starts. Concurrent creates, updates, or deletes can be