<p>I am new to kubernetes and I am not able to understand what is the use of secrets in kubernetes, can anybody tell me why secrets are used and what is the purpose of secrets?</p>

Mangesh Narkhede
<p>Secrets are used to manage sensitive information like database passwords, user credentials, ssl certificates etc.</p>

<p>It would help you decouple the sensitive information from the builds. You can bind the secrets as volume or environment variables in the pod at run time</p>
