You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Raul Garcia (Jira)" <ji...@apache.org> on 2024/10/09 15:42:00 UTC
[jira] [Created] (FLINK-36456) Improve Security in DatadogHttpReporterFactory by providing ENV alternative to retrieve API key
Raul Garcia created FLINK-36456:
-----------------------------------
Summary: Improve Security in DatadogHttpReporterFactory by providing ENV alternative to retrieve API key
Key: FLINK-36456
URL: https://issues.apache.org/jira/browse/FLINK-36456
Project: Flink
Issue Type: Improvement
Components: Runtime / Metrics
Reporter: Raul Garcia
The current implementation of the {{DatadogHttpReporterFactory}} class retrieves the Datadog API key from the Flink configuration. In Kubernetes environments, this typically means storing the API key in ConfigMaps, which can expose sensitive information in plain text. Since ConfigMaps are not designed to hold secrets, this approach poses potential security risks.
My proposal is to fallback to {{DD_API_KEY}} which is the standard way of passing the API key to containers and it's usually available in the environment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)