Secrets

Secrets in Kubernetes are objects used to store sensitive information such as passwords, OAuth tokens, and SSH keys. They provide a way to securely store and manage sensitive data, ensuring that it is not exposed in plain text within container images or configuration files. Secrets can be mounted into pods as data volumes or exposed as environment variables, allowing applications to access the sensitive information securely at runtime.

Resource details

  • Api group: core
  • Namespaced: Yes
  • Shortnames:
    • sec
  • Verbs:
    • create
    • delete
    • deletecollection
    • get
    • list
    • patch
    • update
    • watch