A Secret is an object that contains sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. By using a Secret, it is not required to include confidential data in your application code and the purpose of Secrets is to reduce the risk of exposing sensitive data while deploying applications on Kubernetes.