Skip to content

Secrets

Are used to store sensitive information, such as passwords, OAuth tokens, and SSH keys. Like ConfigMaps, Secrets can be consumed by pods.

Rancher cluster workload

Type of secrets

HTTP Basic Auth:

  • Function: Used to store HTTP basic authentication credentials (username and password). It is useful for securing web services that require authentication.

Opaque:

  • Function: The most generic type of Secret. It allows storing arbitrary data in a key-value format.

Registry:

  • Function: Used to store credentials for accessing a container registry (e.g., Docker Hub, Azure Container Registry, etc.).

SSH Key:

  • Function: Used to store a private SSH key.

TLS Certificate:

  • Function: Used to store a TLS (Transport Layer Security) certificate and its corresponding private key.