Updated on 2025-06-13 GMT+08:00

Secret Type

Specific secrets are used in typical application scenarios like image repository credentials and load balancing certificates. The system verifies the format of data of these secret types. For application scenarios that have no clear requirements on the secret type, use the typical secrets.

Value Range

  • Opaque: general secret type
  • kubernetes.io/dockerconfigjson: a secret that stores the authentication information required for pulling images from a private repository
  • kubernetes.io/tls: Kubernetes TLS secret, which is used to store the certificate required by Layer-7 load balancers
  • IngressTLS: TLS secret provided by CCE to store the certificate required by Layer-7 load balancers
  • To create a key of another custom type, enter the secret type manually.

Default Value

None

Modifiable

Yes

Suggestions

Specify the corresponding secret type for application scenarios that will clearly need a secret.