Holds a confidential data


API reference
graph BT; classDef highlight fill:#AFFC41,stroke:#141B41,stroke-width:2px; secret[Secret]--env variables-->pod secret-->vol vol[Volume]--files-->pod[Pod] class secret highlight

Secrets are base64 encoded (NOT encrypted) values that are designed to provide confidential data for containers as files mounted inside them using volumes or environment variables passed directly to them.

It is very similar to ConfigMap object.