ConfigMaps are a great way to manage innocent environment variables in Kubernetes. Things like:
DEBUG modeHowever, they are not cryptographically secure. ConfigMaps aren't encrypted, and they can be accessed by anyone with access to the cluster.
If you need to store sensitive information, you should use Kubernetes Secrets or a third-party solution.