Mangesh Narkhede
Mangesh Narkhede

Reputation: 15

what is the use of secrets in kubernetes, and what is its purpose?

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?

Upvotes: 0

Views: 64

Answers (1)

P Ekambaram
P Ekambaram

Reputation: 17621

Secrets are used to manage sensitive information like database passwords, user credentials, ssl certificates etc.

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

Upvotes: 2

Related Questions