From the course: OpenShift Essential Training: Container Orchestration and Deployment

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

OpenShift secrets

OpenShift secrets

- [Presenter] What if you woke up one day to find out that your company's entire database has been leaked online? And the worst part is it happened because someone accidentally uploaded a file with hard-coded credentials to a public repository. There's a way to prevent this. OpenShift provides a solution to manage sensitive information without exposing it. It's called OpenShift Secrets. Let's see how secrets work and how to use them effectively. Secrets are Kubernetes objects designed to securely store sensitive data like password certificates, database credentials, and so on. Without secrets, problems may arise, like developers might hard-code credentials into config files. Passwords end up in version control, which is a huge risk. Sensitive data may be stored in plain text, and data might get leaked through logs or dumps. secrets prevent these issues by first being encrypted. They're stored securely within OpenShift. Access can be controlled via RBAC, and they can be mounted as…

Contents