elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
124 stars 134 forks source link

Add support for CLI flag for mTLS client certificate key passphrase #5489

Open AndersonQ opened 1 week ago

AndersonQ commented 1 week ago

In the in progress mTLS implementation we do not expose command line options for reading a passphrase-protected certificate key from a file. We need to add support for that, matching the support for fleet-server certificate and the fleet-server client certificate for connecting to Elasticsearch.

Following the current pattern, the new flag should be --elastic-agent-cert-key-passphrase.

Required tests:

Acceptance criteria:

elasticmachine commented 1 week ago

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)