You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Dale Lane via dev <de...@flink.apache.org> on 2026/10/07 13:43:07 UTC
[DISCUSS] config providers for Flink?
Kafka has "configuration providers". Instead of putting a string literal in your config, you put a reference to a value in an external source, and the config provider fetches the config value from the source for you.
${file:/etc/secrets/tls.properties:keystore.password}
For sensitive option values like passwords and API keys, it means they don't live in plain text in config.
${env:S3_SECRET_KEY}
There are built-in config providers to get config values from environment variables and files, but it's a pluggable interface. Config providers are available to get config values from K8s Secrets, HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, Google Secret Manager, etc.
${vault:path/to/secret:mypassword}
Has there ever been consideration of us adopting this idea in Flink? I think it'd be super useful, but what do you think?
Kind regards
Dale
--
dalelane.co.uk