← All notes

Store a cert-manager signed certificate and key in a Kubernetes Secret

Answer: The signed certificate and private key are then stored in the specified Secret resource. secretName selects that Secret, and an optional secretTemplate can add labels or annotations to it.

Spec fields

CertificateSpec has a requested set of X509 certificate subject attributes. Labels and annotations from secretTemplate are re-reconciled if the Certificate's secretTemplate changes.

| secretName | issuerRef | |---|---| | secretName | Secret that will hold the certificate and key | | secretTemplate | optional labels and annotations for that Secret | | issuerRef | Issuer or ClusterIssuer to sign the request | | secretTemplate | optional labels and annotations |

API type

CertificateSpec includes the requested set of X509 certificate subject attributes.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: cert-manager, Certificate; cert-manager/cert-manager, types_certificate.go. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: cert-manager, Certificate; cert-manager/cert-manager, types_certificate.go. Apache-2.0; Apache-2.0.

Cite this

Permanent ID: iil:note:32pxtg25

iinventedlight. 2026. "Store a cert-manager signed certificate and key in a Kubernetes Secret." iinventedlight Library, iil:note:32pxtg25, version of 2026-11-20. https://iinventedlight.com/library/notes/cert-manager-certificates/. License: CC-BY-4.0.

@misc{iil_note_32pxtg25,
  author = {{iinventedlight}},
  title = {{Store a cert-manager signed certificate and key in a Kubernetes Secret}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-20},
  url = {https://iinventedlight.com/library/notes/cert-manager-certificates/},
  note = {Permanent ID iil:note:32pxtg25. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/cert-manager-certificates.md.