Skip to content

redact secrets in diagnostics collect command #241

@michel-laterman

Description

@michel-laterman

Describe the enhancement:

The elastic-agent diagnostics collect command creates an archive that config files that have secret/sensitive data.
These fields should be redacted before being written to the archive.

api_key:  "<REDACTED>"
key_passphrase: "<REDACTED>"
access_api_key: "<REDACTED>"

Additionally the private key of a cert should be redacted if it's inlined in the config and not a path to a file.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions