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
- id: C1 claim: The signed certificate and key are stored in the named Secret. source: S1 evidence: "The signed certificate and private key are then stored in the specified Secret resource."
- id: C2 claim: secretTemplate labels and annotations are re-reconciled when they change. source: S1 evidence: "This is an example for reference only."
- id: C3 claim: CertificateSpec includes the requested X509 subject attributes. source: S2 evidence: "Requested set of X509 certificate subject attributes."
Sources
- [S1] Certificate. cert-manager. https://cert-manager.io/docs/concepts/certificate/ . License: Apache-2.0. Accessed 2026-11-20.
- [S2] types_certificate.go. cert-manager/cert-manager. https://raw.githubusercontent.com/cert-manager/cert-manager/master/pkg/apis/certmanager/v1/types_certificate.go . License: Apache-2.0. Accessed 2026-11-20.
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
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.},
}
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.
- cert-manager-certificates.table.json (table; CC-BY-4.0)
- cert-manager-certificates.schema.json (schema; CC-BY-4.0)
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.