# ConfigMaps & Secrets

> What is the difference between a ConfigMap and a Secret in Kubernetes, how do Pods consume them, and are Secrets actually secure?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-configmaps-and-secrets
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is the difference between a ConfigMap and a Secret in Kubernetes, how do Pods consume them, and are Secrets actually secure?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

ConfigMap, Secret, Base64 Encoding, Encryption at Rest, External Secrets

Previous: [Labels & Selectors](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-labels-and-selectors) · Next: [Liveness & Readiness Probes](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-liveness-readiness-probes) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Horizontal Pod Autoscaler (HPA)](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-hpa-basics)
- [Namespaces](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-namespaces)
- [Schedules: Affinity & Taints](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-node-affinity-taints-tolerations)
- [PV, PVC, & StorageClasses](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-persistent-volumes)
- [Rolling Updates & Rollbacks](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-rolling-updates)
- [DaemonSets, Jobs, & CronJobs](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-daemonsets-vs-jobs)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
