API Reference
cert-manager API documentation, including various Custom Resource Definitions
Packages:
- acme.cert-manager.io/v1
- cainjector.config.cert-manager.io/v1alpha1
- cert-manager.io/v1
- controller.config.cert-manager.io/v1alpha1
- webhook.config.cert-manager.io/v1alpha1
acme.cert-manager.io/v1
Package v1 is the v1 version of the API.
Resource Types:
Challenge
Challenge is a type to represent a Challenge request with an ACME server
| Field | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | acme.cert-manager.io/v1 | ||||||||||||||||||
kindstring | Challenge | ||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||||||
specChallengeSpec |
| ||||||||||||||||||
statusChallengeStatus | (Optional) |
Order
Order is a type to represent an Order with an ACME server
| Field | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | acme.cert-manager.io/v1 | ||||||||||||||
kindstring | Order | ||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||||||||||||||
specOrderSpec |
| ||||||||||||||
statusOrderStatus | (Optional) |
ACMEAuthorization
(Appears on: OrderStatus)
ACMEAuthorization contains data returned from the ACME server on an authorization that must be completed in order validate a DNS name on an ACME Order resource.
| Field | Description |
|---|---|
urlstring | URL is the URL of the Authorization that must be completed |
identifierstring | (Optional) Identifier is the DNS name to be validated as part of this authorization |
wildcardbool | (Optional) Wildcard will be true if this authorization is for a wildcard DNS name. If this is true, the identifier will be the non-wildcard version of the DNS name. For example, if ‘*.example.com’ is the DNS name being validated, this field will be ‘true’ and the ‘identifier’ field will be ‘example.com’. |
initialStateState | (Optional) InitialState is the initial state of the ACME authorization when first fetched from the ACME server. If an Authorization is already ‘valid’, the Order controller will not create a Challenge resource for the authorization. This will occur when working with an ACME server that enables ‘authz reuse’ (such as Let’s Encrypt’s production endpoint). If not set and ‘identifier’ is set, the state is assumed to be pending and a Challenge will be created. |
challenges[]ACMEChallenge | (Optional) Challenges specifies the challenge types offered by the ACME server. One of these challenge types will be selected when validating the DNS name and an appropriate Challenge resource will be created to perform the ACME challenge process. |
ACMEChallenge
(Appears on: ACMEAuthorization)
Challenge specifies a challenge offered by the ACME server for an Order. An appropriate Challenge resource can be created to perform the ACME challenge process.
| Field | Description |
|---|---|
urlstring | URL is the URL of this challenge. It can be used to retrieve additional metadata about the Challenge from the ACME server. |
tokenstring | Token is the token that must be presented for this challenge. This is used to compute the ‘key’ that must also be presented. |
typestring | Type is the type of challenge being offered, e.g., ‘http-01’, ‘dns-01’, ‘tls-sni-01’, etc. This is the raw value retrieved from the ACME server. Only ‘http-01’ and ‘dns-01’ are supported by cert-manager, other values will be ignored. |
ACMEChallengeSolver
(Appears on: ACMEIssuer, ChallengeSpec)
An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of. A selector may be provided to use different solving strategies for different DNS names. Only one of HTTP01 or DNS01 must be provided.
| Field | Description |
|---|---|
selectorCertificateDNSNameSelector | (Optional) Selector selects a set of DNSNames on the Certificate resource that should be solved using this challenge solver. If not specified, the solver will be treated as the ‘default’ solver with the lowest priority, i.e. if any other solver has a more specific match, it will be used instead. |
http01ACMEChallengeSolverHTTP01 | (Optional) Configures cert-manager to attempt to complete authorizations by performing the HTTP01 challenge flow. It is not possible to obtain certificates for wildcard domain names (e.g., |
dns01ACMEChallengeSolverDNS01 | (Optional) Configures cert-manager to attempt to complete authorizations by performing the DNS01 challenge flow. |
ACMEChallengeSolverDNS01
(Appears on: ACMEChallengeSolver)
Used to configure a DNS01 challenge provider to be used when solving DNS01 challenges. Only one DNS provider may be configured per solver.
| Field | Description |
|---|---|
cnameStrategyCNAMEStrategy | (Optional) CNAMEStrategy configures how the DNS01 provider should handle CNAME records when found in DNS zones. |
akamaiACMEIssuerDNS01ProviderAkamai | (Optional) Use the Akamai DNS zone management API to manage DNS01 challenge records. |
cloudDNSACMEIssuerDNS01ProviderCloudDNS | (Optional) Use the Google Cloud DNS API to manage DNS01 challenge records. |
cloudflareACMEIssuerDNS01ProviderCloudflare | (Optional) Use the Cloudflare API to manage DNS01 challenge records. |
route53ACMEIssuerDNS01ProviderRoute53 | (Optional) Use the AWS Route53 API to manage DNS01 challenge records. |
azureDNSACMEIssuerDNS01ProviderAzureDNS | (Optional) Use the Microsoft Azure DNS API to manage DNS01 challenge records. |
digitaloceanACMEIssuerDNS01ProviderDigitalOcean | (Optional) Use the DigitalOcean DNS API to manage DNS01 challenge records. |
acmeDNSACMEIssuerDNS01ProviderAcmeDNS | (Optional) Use the ‘ACME DNS’ (https://github.com/joohoi/acme-dns) API to manage DNS01 challenge records. |
rfc2136ACMEIssuerDNS01ProviderRFC2136 | (Optional) Use RFC2136 (“Dynamic Updates in the Domain Name System”) (https://datatracker.ietf.org/doc/rfc2136/) to manage DNS01 challenge records. |
webhookACMEIssuerDNS01ProviderWebhook | (Optional) Configure an external webhook based DNS01 challenge solver to manage DNS01 challenge records. |
ACMEChallengeSolverHTTP01
(Appears on: ACMEChallengeSolver)
ACMEChallengeSolverHTTP01 contains configuration detailing how to solve HTTP01 challenges within a Kubernetes cluster. Typically this is accomplished through creating ‘routes’ of some description that configure ingress controllers to direct traffic to ‘solver pods’, which are responsible for responding to the ACME server’s HTTP requests. Only one of Ingress / Gateway can be specified.
| Field | Description |
|---|---|
ingressACMEChallengeSolverHTTP01Ingress | (Optional) The ingress based HTTP01 challenge solver will solve challenges by creating or modifying Ingress resources in order to route requests for ‘/.well-known/acme-challenge/XYZ’ to ‘challenge solver’ pods that are provisioned by cert-manager for each Challenge to be completed. |
gatewayHTTPRouteACMEChallengeSolverHTTP01GatewayHTTPRoute | (Optional) The Gateway API is a sig-network community API that models service networking in Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will create HTTPRoutes with the specified labels in the same namespace as the challenge. This solver is experimental, and fields / behaviour may change in the future. |
ACMEChallengeSolverHTTP01GatewayHTTPRoute
(Appears on: ACMEChallengeSolverHTTP01)
The ACMEChallengeSolverHTTP01GatewayHTTPRoute solver will create HTTPRoute objects for a Gateway class routing to an ACME challenge solver pod.
| Field | Description |
|---|---|
serviceTypeKubernetes core/v1.ServiceType | (Optional) Optional service type for Kubernetes solver service. Supported values are NodePort or ClusterIP. If unset, defaults to NodePort. |
labelsmap[string]string | (Optional) Custom labels that will be applied to HTTPRoutes created by cert-manager while solving HTTP-01 challenges. |
parentRefs[]sigs.k8s.io/gateway-api/apis/v1.ParentReference | (Optional) When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute. cert-manager needs to know which parentRefs should be used when creating the HTTPRoute. Usually, the parentRef references a Gateway. See: https://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways |
podTemplateACMEChallengeSolverHTTP01IngressPodTemplate | (Optional) Optional pod template used to configure the ACME challenge solver pods used for HTTP01 challenges. |
ACMEChallengeSolverHTTP01Ingress
(Appears on: ACMEChallengeSolverHTTP01)
| Field | Description |
|---|---|
serviceTypeKubernetes core/v1.ServiceType | (Optional) Optional service type for Kubernetes solver service. Supported values are NodePort or ClusterIP. If unset, defaults to NodePort. |
ingressClassNamestring | (Optional) This field configures the field |
classstring | (Optional) This field configures the annotation |
namestring | (Optional) The name of the ingress resource that should have ACME challenge solving routes inserted into it in order to solve HTTP01 challenges. This is typically used in conjunction with ingress controllers like ingress-gce, which maintains a 1:1 mapping between external IPs and ingress resources. Only one of |
podTemplateACMEChallengeSolverHTTP01IngressPodTemplate | (Optional) Optional pod template used to configure the ACME challenge solver pods used for HTTP01 challenges. |
ingressTemplateACMEChallengeSolverHTTP01IngressTemplate | (Optional) Optional ingress template used to configure the ACME challenge solver ingress used for HTTP01 challenges. |
ACMEChallengeSolverHTTP01IngressObjectMeta
(Appears on: ACMEChallengeSolverHTTP01IngressTemplate)
| Field | Description |
|---|---|
annotationsmap[string]string | (Optional) Annotations that should be added to the created ACME HTTP01 solver ingress. |
labelsmap[string]string | (Optional) Labels that should be added to the created ACME HTTP01 solver ingress. |
ACMEChallengeSolverHTTP01IngressPodObjectMeta
(Appears on: ACMEChallengeSolverHTTP01IngressPodTemplate)
| Field | Description |
|---|---|
annotationsmap[string]string | (Optional) Annotations that should be added to the created ACME HTTP01 solver pods. |
labelsmap[string]string | (Optional) Labels that should be added to the created ACME HTTP01 solver pods. |
ACMEChallengeSolverHTTP01IngressPodResources
(Appears on: ACMEChallengeSolverHTTP01IngressPodSpec)
ACMEChallengeSolverHTTP01IngressPodResources defines resource requirements for ACME HTTP01 solver pods. To keep API surface essential, this trims down the ‘corev1.ResourceRequirements’ type to only include the Requests and Limits fields.
| Field | Description |
|---|---|
limitsKubernetes core/v1.ResourceList | (Optional) Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
requestsKubernetes core/v1.ResourceList | (Optional) Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to the global values configured via controller flags. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
ACMEChallengeSolverHTTP01IngressPodSecurityContext
(Appears on: ACMEChallengeSolverHTTP01IngressPodSpec)
| Field | Description |
|---|---|
seLinuxOptionsKubernetes core/v1.SELinuxOptions | (Optional) The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. |
runAsUserint64 | (Optional) The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. |
runAsGroupint64 | (Optional) The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. |
runAsNonRootbool | (Optional) Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. |
supplementalGroups[]int64 | (Optional) A list of groups applied to the first process run in each container, in addition to the container’s primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. |
fsGroupint64 | (Optional) A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. |
sysctls[]Kubernetes core/v1.Sysctl | (Optional) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. |
fsGroupChangePolicyKubernetes core/v1.PodFSGroupChangePolicy | (Optional) fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are “OnRootMismatch” and “Always”. If not specified, “Always” is used. Note that this field cannot be set when spec.os.name is windows. |
seccompProfileKubernetes core/v1.SeccompProfile | (Optional) The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. |
ACMEChallengeSolverHTTP01IngressPodSpec
(Appears on: ACMEChallengeSolverHTTP01IngressPodTemplate)
| Field | Description |
|---|---|
nodeSelectormap[string]string | (Optional) NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ |
affinityKubernetes core/v1.Affinity | (Optional) If specified, the pod’s scheduling constraints |
tolerations[]Kubernetes core/v1.Toleration | (Optional) If specified, the pod’s tolerations. |
priorityClassNamestring | (Optional) If specified, the pod’s priorityClassName. |
serviceAccountNamestring | (Optional) If specified, the pod’s service account |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference | (Optional) If specified, the pod’s imagePullSecrets |
securityContextACMEChallengeSolverHTTP01IngressPodSecurityContext | (Optional) If specified, the pod’s security context |
resourcesACMEChallengeSolverHTTP01IngressPodResources | (Optional) If specified, the pod’s resource requirements. These values override the global resource configuration flags. Note that when only specifying resource limits, ensure they are greater than or equal to the corresponding global resource requests configured via controller flags (–acme-http01-solver-resource-request-cpu, –acme-http01-solver-resource-request-memory). Kubernetes will reject pod creation if limits are lower than requests, causing challenge failures. |
ACMEChallengeSolverHTTP01IngressPodTemplate
(Appears on: ACMEChallengeSolverHTTP01GatewayHTTPRoute, ACMEChallengeSolverHTTP01Ingress)
| Field | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadataACMEChallengeSolverHTTP01IngressPodObjectMeta | (Optional) ObjectMeta overrides for the pod used to solve HTTP01 challenges. Only the ‘labels’ and ‘annotations’ fields may be set. If labels or annotations overlap with in-built values, the values here will override the in-built values. | ||||||||||||||||
specACMEChallengeSolverHTTP01IngressPodSpec | (Optional) PodSpec defines overrides for the HTTP01 challenge solver pod. Check ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields. All other fields will be ignored.
|
ACMEChallengeSolverHTTP01IngressTemplate
(Appears on: ACMEChallengeSolverHTTP01Ingress)
| Field | Description |
|---|---|
metadataACMEChallengeSolverHTTP01IngressObjectMeta | (Optional) ObjectMeta overrides for the ingress used to solve HTTP01 challenges. Only the ‘labels’ and ‘annotations’ fields may be set. If labels or annotations overlap with in-built values, the values here will override the in-built values. |
ACMEChallengeType (string alias)
(Appears on: ChallengeSpec)
The type of ACME challenge. Only HTTP-01 and DNS-01 are supported.
| Value | Description |
|---|---|
"DNS-01" | ACMEChallengeTypeDNS01 denotes a Challenge is of type dns-01 More info: https://letsencrypt.org/docs/challenge-types/#dns-01-challenge |
"HTTP-01" | ACMEChallengeTypeHTTP01 denotes a Challenge is of type http-01 More info: https://letsencrypt.org/docs/challenge-types/#http-01-challenge |
ACMEExternalAccountBinding
(Appears on: ACMEIssuer)
ACMEExternalAccountBinding is a reference to a CA external account of the ACME server.
| Field | Description |
|---|---|
keyIDstring | keyID is the ID of the CA key that the External Account is bound to. |
keySecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes Secret which holds the symmetric MAC key of the External Account Binding. The |
keyAlgorithmHMACKeyAlgorithm | (Optional) Deprecated: keyAlgorithm field exists for historical compatibility reasons and should not be used. The algorithm is now hardcoded to HS256 in golang/x/crypto/acme. |
ACMEIssuer
(Appears on: IssuerConfig)
ACMEIssuer contains the specification for an ACME issuer. This uses the RFC8555 specification to obtain certificates by completing ‘challenges’ to prove ownership of domain identifiers. Earlier draft versions of the ACME specification are not supported.
| Field | Description |
|---|---|
emailstring | (Optional) Email is the email address to be associated with the ACME account. This field is optional, but it is strongly recommended to be set. It will be used to contact you in case of issues with your account or certificates, including expiry notification emails. This field may be updated after the account is initially registered. |
serverstring | Server is the URL used to access the ACME server’s ‘directory’ endpoint. For example, for Let’s Encrypt’s staging endpoint, you would use: “https://acme-staging-v02.api.letsencrypt.org/directory”. Only ACME v2 endpoints (i.e. RFC 8555) are supported. |
preferredChainstring | (Optional) PreferredChain is the chain to use if the ACME server outputs multiple. PreferredChain is no guarantee that this one gets delivered by the ACME endpoint. For example, for Let’s Encrypt’s DST cross-sign you would use: “DST Root CA X3” or “ISRG Root X1” for the newer Let’s Encrypt root CA. This value picks the first certificate bundle in the combined set of ACME default and alternative chains that has a root-most certificate with this value as its issuer’s commonname. |
caBundle[]byte | (Optional) Base64-encoded bundle of PEM CAs which can be used to validate the certificate chain presented by the ACME server. Mutually exclusive with SkipTLSVerify; prefer using CABundle to prevent various kinds of security vulnerabilities. If CABundle and SkipTLSVerify are unset, the system certificate bundle inside the container is used to validate the TLS connection. |
skipTLSVerifybool | (Optional) INSECURE: Enables or disables validation of the ACME server TLS certificate. If true, requests to the ACME server will not have the TLS certificate chain validated. Mutually exclusive with CABundle; prefer using CABundle to prevent various kinds of security vulnerabilities. Only enable this option in development environments. If CABundle and SkipTLSVerify are unset, the system certificate bundle inside the container is used to validate the TLS connection. Defaults to false. |
externalAccountBindingACMEExternalAccountBinding | (Optional) ExternalAccountBinding is a reference to a CA external account of the ACME server. If set, upon registration cert-manager will attempt to associate the given external account credentials with the registered ACME account. |
privateKeySecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | PrivateKey is the name of a Kubernetes Secret resource that will be used to store the automatically generated ACME account private key. Optionally, a |
solvers[]ACMEChallengeSolver | (Optional) Solvers is a list of challenge solvers that will be used to solve ACME challenges for the matching domains. Solver configurations must be provided in order to obtain certificates from an ACME server. For more information, see: https://cert-manager.io/docs/configuration/acme/ |
disableAccountKeyGenerationbool | (Optional) Enables or disables generating a new ACME account key. If true, the Issuer resource will not request a new account but will expect the account key to be supplied via an existing secret. If false, the cert-manager system will generate a new ACME account key for the Issuer. Defaults to false. |
enableDurationFeaturebool | (Optional) Enables requesting a Not After date on certificates that matches the duration of the certificate. This is not supported by all ACME servers like Let’s Encrypt. If set to true when the ACME server does not support it, it will create an error on the Order. Defaults to false. |
profilestring | (Optional) Profile allows requesting a certificate profile from the ACME server. Supported profiles are listed by the server’s ACME directory URL. |
ACMEIssuerDNS01ProviderAcmeDNS
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderAcmeDNS is a structure containing the configuration for ACME-DNS servers
| Field | Description |
|---|---|
hoststring | |
accountSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector |
ACMEIssuerDNS01ProviderAkamai
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderAkamai is a structure containing the DNS configuration for Akamai DNS—Zone Record Management API
| Field | Description |
|---|---|
serviceConsumerDomainstring | |
clientTokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | |
clientSecretSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | |
accessTokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector |
ACMEIssuerDNS01ProviderAzureDNS
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderAzureDNS is a structure containing the configuration for Azure DNS
| Field | Description |
|---|---|
clientIDstring | (Optional) Auth: Azure Service Principal: The ClientID of the Azure Service Principal used to authenticate with Azure DNS. If set, ClientSecret and TenantID must also be set. |
clientSecretSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) Auth: Azure Service Principal: A reference to a Secret containing the password associated with the Service Principal. If set, ClientID and TenantID must also be set. |
subscriptionIDstring | ID of the Azure subscription |
tenantIDstring | (Optional) Auth: Azure Service Principal: The TenantID of the Azure Service Principal used to authenticate with Azure DNS. If set, ClientID and ClientSecret must also be set. |
resourceGroupNamestring | resource group the DNS zone is located in |
hostedZoneNamestring | (Optional) name of the DNS zone that should be used |
environmentAzureDNSEnvironment | (Optional) name of the Azure environment (default AzurePublicCloud) |
managedIdentityAzureManagedIdentity | (Optional) Auth: Azure Workload Identity or Azure Managed Service Identity: Settings to enable Azure Workload Identity or Azure Managed Service Identity If set, ClientID, ClientSecret and TenantID must not be set. |
ACMEIssuerDNS01ProviderCloudDNS
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderCloudDNS is a structure containing the DNS configuration for Google Cloud DNS
| Field | Description |
|---|---|
serviceAccountSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) |
projectstring | |
hostedZoneNamestring | (Optional) HostedZoneName is an optional field that tells cert-manager in which Cloud DNS zone the challenge record has to be created. If left empty cert-manager will automatically choose a zone. |
ACMEIssuerDNS01ProviderCloudflare
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderCloudflare is a structure containing the DNS configuration for Cloudflare. One of apiKeySecretRef or apiTokenSecretRef must be provided.
| Field | Description |
|---|---|
emailstring | (Optional) Email of the account, only required when using API key based authentication. |
apiKeySecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) API key to use to authenticate with Cloudflare. Note: using an API token to authenticate is now the recommended method as it allows greater control of permissions. |
apiTokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) API token used to authenticate with Cloudflare. |
ACMEIssuerDNS01ProviderDigitalOcean
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderDigitalOcean is a structure containing the DNS configuration for DigitalOcean Domains
| Field | Description |
|---|---|
tokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector |
ACMEIssuerDNS01ProviderRFC2136
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderRFC2136 is a structure containing the configuration for RFC2136 DNS
| Field | Description |
|---|---|
nameserverstring | The IP address or hostname of an authoritative DNS server supporting RFC2136 in the form host:port. If the host is an IPv6 address it must be enclosed in square brackets (e.g [2001:db8::1]); port is optional. This field is required. |
tsigSecretSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) The name of the secret containing the TSIG value. If |
tsigKeyNamestring | (Optional) The TSIG Key name configured in the DNS. If |
tsigAlgorithmstring | (Optional) The TSIG Algorithm configured in the DNS supporting RFC2136. Used only when |
protocolRFC2136UpdateProtocol | (Optional) Protocol to use for dynamic DNS update queries. Valid values are (case-sensitive) |
ACMEIssuerDNS01ProviderRoute53
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderRoute53 is a structure containing the Route 53 configuration for AWS
| Field | Description |
|---|---|
authRoute53Auth | (Optional) Auth configures how cert-manager authenticates. |
accessKeyIDstring | (Optional) The AccessKeyID is used for authentication. Cannot be set when SecretAccessKeyID is set. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials |
accessKeyIDSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) The SecretAccessKey is used for authentication. If set, pull the AWS access key ID from a key within a Kubernetes Secret. Cannot be set when AccessKeyID is set. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials |
secretAccessKeySecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) The SecretAccessKey is used for authentication. If neither the Access Key nor Key ID are set, we fall-back to using env vars, shared credentials file or AWS Instance metadata, see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials |
rolestring | (Optional) Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKey or the inferred credentials from environment variables, shared credentials file or AWS Instance metadata |
hostedZoneIDstring | (Optional) If set, the provider will manage only this zone in Route53 and will not do a lookup using the route53:ListHostedZonesByName api call. |
regionstring | (Optional) Override the AWS region. Route53 is a global service and does not have regional endpoints but the region specified here (or via environment variables) is used as a hint to help compute the correct AWS credential scope and partition when it connects to Route53. See: - Amazon Route 53 endpoints and quotas- Global services If you omit this region field, cert-manager will use the region from AWS_REGION and AWS_DEFAULT_REGION environment variables, if they are set in the cert-manager controller Pod. The The |
ACMEIssuerDNS01ProviderWebhook
(Appears on: ACMEChallengeSolverDNS01)
ACMEIssuerDNS01ProviderWebhook specifies configuration for a webhook DNS01 provider, including where to POST ChallengePayload resources.
| Field | Description |
|---|---|
groupNamestring | The API group name that should be used when POSTing ChallengePayload resources to the webhook apiserver. This should be the same as the GroupName specified in the webhook provider implementation. |
solverNamestring | The name of the solver to use, as defined in the webhook provider implementation. This will typically be the name of the provider, e.g., ‘cloudflare’. |
configKubernetes apiextensions/v1.JSON | (Optional) Additional configuration that should be passed to the webhook apiserver when challenges are processed. This can contain arbitrary JSON data. Secret values should not be specified in this stanza. If secret values are needed (e.g., credentials for a DNS service), you should use a SecretKeySelector to reference a Secret resource. For details on the schema of this field, consult the webhook provider implementation’s documentation. |
ACMEIssuerStatus
(Appears on: IssuerStatus)
| Field | Description |
|---|---|
uristring | (Optional) URI is the unique account identifier, which can also be used to retrieve account details from the CA |
lastRegisteredEmailstring | (Optional) LastRegisteredEmail is the email associated with the latest registered ACME account, in order to track changes made to registered account associated with the Issuer |
lastPrivateKeyHashstring | (Optional) LastPrivateKeyHash is a hash of the private key associated with the latest registered ACME account, in order to track changes made to registered account associated with the Issuer |
AzureDNSEnvironment (string alias)
(Appears on: ACMEIssuerDNS01ProviderAzureDNS)
| Value | Description |
|---|---|
"AzureChinaCloud" | |
"AzureGermanCloud" | |
"AzurePublicCloud" | |
"AzureUSGovernmentCloud" |
AzureManagedIdentity
(Appears on: ACMEIssuerDNS01ProviderAzureDNS)
AzureManagedIdentity contains the configuration for Azure Workload Identity or Azure Managed Service Identity If the AZURE_FEDERATED_TOKEN_FILE environment variable is set, the Azure Workload Identity will be used. Otherwise, we fall-back to using Azure Managed Service Identity.
| Field | Description |
|---|---|
clientIDstring | (Optional) client ID of the managed identity, cannot be used at the same time as resourceID |
resourceIDstring | (Optional) resource ID of the managed identity, cannot be used at the same time as clientID Cannot be used for Azure Managed Service Identity |
tenantIDstring | (Optional) tenant ID of the managed identity, cannot be used at the same time as resourceID |
CNAMEStrategy (string alias)
(Appears on: ACMEChallengeSolverDNS01)
CNAMEStrategy configures how the DNS01 provider should handle CNAME records when found in DNS zones. By default, the None strategy will be applied (i.e. do not follow CNAMEs).
CertificateDNSNameSelector
(Appears on: ACMEChallengeSolver)
CertificateDNSNameSelector selects certificates using a label selector, and can optionally select individual DNS names within those certificates. If both MatchLabels and DNSNames are empty, this selector will match all certificates and DNS names within them.
| Field | Description |
|---|---|
matchLabelsmap[string]string | (Optional) A label selector that is used to refine the set of certificate’s that this challenge solver will apply to. |
dnsNames[]string | (Optional) List of DNSNames that this solver will be used to solve. If specified and a match is found, a dnsNames selector will take precedence over a dnsZones selector. If multiple solvers match with the same dnsNames value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected. |
dnsZones[]string | (Optional) List of DNSZones that this solver will be used to solve. The most specific DNS zone match specified here will take precedence over other DNS zone matches, so a solver specifying sys.example.com will be selected over one specifying example.com for the domain www.sys.example.com. If multiple solvers match with the same dnsZones value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected. |
ChallengeSpec
(Appears on: Challenge)
| Field | Description |
|---|---|
urlstring | The URL of the ACME Challenge resource for this challenge. This can be used to lookup details about the status of this challenge. |
authorizationURLstring | The URL to the ACME Authorization resource that this challenge is a part of. |
dnsNamestring | dnsName is the identifier that this challenge is for, e.g., example.com. If the requested DNSName is a ‘wildcard’, this field MUST be set to the non-wildcard domain, e.g., for |
wildcardbool | (Optional) wildcard will be true if this challenge is for a wildcard identifier, for example ‘*.example.com’. |
typeACMEChallengeType | The type of ACME challenge this resource represents. One of “HTTP-01” or “DNS-01”. |
tokenstring | The ACME challenge token for this challenge. This is the raw value returned from the ACME server. |
keystring | The ACME challenge key for this challenge For HTTP01 challenges, this is the value that must be responded with to complete the HTTP01 challenge in the format:
|
solverACMEChallengeSolver | Contains the domain solving configuration that should be used to solve this challenge resource. |
issuerRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.IssuerReference | References a properly configured ACME-type Issuer which should be used to create this Challenge. If the Issuer does not exist, processing will be retried. If the Issuer is not an ‘ACME’ Issuer, an error will be returned and the Challenge will be marked as failed. |
ChallengeStatus
(Appears on: Challenge)
| Field | Description |
|---|---|
processingbool | (Optional) Used to denote whether this challenge should be processed or not. This field will only be set to true by the ‘scheduling’ component. It will only be set to false by the ‘challenges’ controller, after the challenge has reached a final state or timed out. If this field is set to false, the challenge controller will not take any more action. |
presentedbool | (Optional) presented will be set to true if the challenge values for this challenge are currently ‘presented’. This does not imply the self check is passing. Only that the values have been ‘submitted’ for the appropriate challenge mechanism (i.e. the DNS01 TXT record has been presented, or the HTTP01 configuration has been configured). |
reasonstring | (Optional) Contains human readable information on why the Challenge is in the current state. |
stateState | (Optional) Contains the current ‘state’ of the challenge. If not set, the state of the challenge is unknown. |
HMACKeyAlgorithm (string alias)
(Appears on: ACMEExternalAccountBinding)
HMACKeyAlgorithm is the name of a key algorithm used for HMAC encryption
| Value | Description |
|---|---|
"HS256" | |
"HS384" | |
"HS512" |
OrderSpec
(Appears on: Order)
| Field | Description |
|---|---|
request[]byte | Certificate signing request bytes in DER encoding. This will be used when finalizing the order. This field must be set on the order. |
issuerRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.IssuerReference | IssuerRef references a properly configured ACME-type Issuer which should be used to create this Order. If the Issuer does not exist, processing will be retried. If the Issuer is not an ‘ACME’ Issuer, an error will be returned and the Order will be marked as failed. |
commonNamestring | (Optional) CommonName is the common name as specified on the DER encoded CSR. If specified, this value must also be present in |
dnsNames[]string | (Optional) DNSNames is a list of DNS names that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR. |
ipAddresses[]string | (Optional) IPAddresses is a list of IP addresses that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR. |
durationKubernetes meta/v1.Duration | (Optional) Duration is the duration for the not after date for the requested certificate. this is set on order creation as pe the ACME spec. |
profilestring | (Optional) Profile allows requesting a certificate profile from the ACME server. Supported profiles are listed by the server’s ACME directory URL. |
OrderStatus
(Appears on: Order)
| Field | Description |
|---|---|
urlstring | (Optional) URL of the Order. This will initially be empty when the resource is first created. The Order controller will populate this field when the Order is first processed. This field will be immutable after it is initially set. |
finalizeURLstring | (Optional) FinalizeURL of the Order. This is used to obtain certificates for this order once it has been completed. |
authorizations[]ACMEAuthorization | (Optional) Authorizations contains data returned from the ACME server on what authorizations must be completed in order to validate the DNS names specified on the Order. |
certificate[]byte | (Optional) Certificate is a copy of the PEM encoded certificate for this Order. This field will be populated after the order has been successfully finalized with the ACME server, and the order has transitioned to the ‘valid’ state. |
stateState | (Optional) State contains the current state of this Order resource. States ‘success’ and ‘expired’ are ‘final’ |
reasonstring | (Optional) Reason optionally provides more information about a why the order is in the current state. |
failureTimeKubernetes meta/v1.Time | (Optional) FailureTime stores the time that this order failed. This is used to influence garbage collection and back-off. |
RFC2136UpdateProtocol (string alias)
(Appears on: ACMEIssuerDNS01ProviderRFC2136)
| Value | Description |
|---|---|
"TCP" | RFC2136UpdateProtocolTCP utilizes TCP to update queries. |
"UDP" | RFC2136UpdateProtocolUDP utilizes UDP to update queries. |
Route53Auth
(Appears on: ACMEIssuerDNS01ProviderRoute53)
Route53Auth is configuration used to authenticate with a Route53.
| Field | Description |
|---|---|
kubernetesRoute53KubernetesAuth | Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity by passing a bound ServiceAccount token. |
Route53KubernetesAuth
(Appears on: Route53Auth)
Route53KubernetesAuth is a configuration to authenticate against Route53 using a bound Kubernetes ServiceAccount token.
| Field | Description |
|---|---|
serviceAccountRefServiceAccountRef | A reference to a service account that will be used to request a bound token (also known as “projected token”). To use this field, you must configure an RBAC rule to let cert-manager request a token. |
ServiceAccountRef
(Appears on: Route53KubernetesAuth)
ServiceAccountRef is a service account used by cert-manager to request a token. The expiration of the token is also set by cert-manager to 10 minutes.
| Field | Description |
|---|---|
namestring | Name of the ServiceAccount used to request a token. |
audiences[]string | (Optional) TokenAudiences is an optional list of audiences to include in the token passed to AWS. The default token consisting of the issuer’s namespace and name is always included. If unset the audience defaults to |
State (string alias)
(Appears on: ACMEAuthorization, ChallengeStatus, OrderStatus)
State represents the state of an ACME resource, such as an Order. The possible options here map to the corresponding values in the ACME specification. Full details of these values can be found here: https://tools.ietf.org/html/draft-ietf-acme-acme-15#section-7.1.6 Clients utilising this type must also gracefully handle unknown values, as the contents of this enumeration may be added to over time.
| Value | Description |
|---|---|
"errored" | Errored signifies that the ACME resource has errored for some reason. This is a catch-all state, and is used for marking internal cert-manager errors such as validation failures. This is a final state. |
"expired" | Expired signifies that an ACME resource has expired. If an Order is marked ‘Expired’, one of its validations may have expired or the Order itself. This is a final state. |
"invalid" | Invalid signifies that an ACME resource is invalid for some reason. If an Order is marked ‘invalid’, one of its validations must be invalid for some reason. This is a final state. |
"pending" | Pending signifies that an ACME resource is still pending and is not yet ready. If an Order is marked ‘Pending’, the validations for that Order are still in progress. This is a transient state. |
"processing" | Processing signifies that an ACME resource is being processed by the server. If an Order is marked ‘Processing’, the validations for that Order are currently being processed. This is a transient state. |
"ready" | Ready signifies that an ACME resource is in a ready state. If an order is ‘ready’, all of its challenges have been completed successfully and the order is ready to be finalized. Once finalized, it will transition to the Valid state. This is a transient state. |
"" | Unknown is not a real state as part of the ACME spec. It is used to represent an unrecognised value. |
"valid" | Valid signifies that an ACME resource is in a valid state. If an order is ‘valid’, it has been finalized with the ACME server and the certificate can be retrieved from the ACME server using the certificate URL stored in the Order’s status subresource. This is a final state. |
cainjector.config.cert-manager.io/v1alpha1
Package v1alpha1 is the v1alpha1 version of the cainjector config API.
Resource Types:
CAInjectorConfiguration
| Field | Description |
|---|---|
kubeConfigstring | kubeConfig is the kubeconfig file used to connect to the Kubernetes apiserver. If not specified, the cainjector will attempt to load the in-cluster-config. |
namespacestring | If set, this limits the scope of cainjector to a single namespace. If set, cainjector will not update resources with certificates outside of the configured namespace. |
leaderElectionConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.LeaderElectionConfig | LeaderElectionConfig configures the behaviour of the leader election |
enableDataSourceConfigEnableDataSourceConfig | EnableDataSourceConfig determines whether cainjector’s control loops will watch cert-manager resources as potential sources of CA data. |
enableInjectableConfigEnableInjectableConfig | EnableInjectableConfig determines whether cainjector’s control loops will watch cert-manager resources as potential targets for CA data injection. |
enablePprofbool | Enable profiling for cainjector. |
pprofAddressstring | The host and port that Go profiler should listen on, i.e localhost:6060. Ensure that profiler is not exposed on a public address. Profiler will be served at /debug/pprof. |
loggingk8s.io/component-base/logs/api/v1.LoggingConfiguration | logging configures the logging behaviour of the cainjector. https://pkg.go.dev/k8s.io/component-base@v0.27.3/logs/api/v1#LoggingConfiguration |
featureGatesmap[string]bool | (Optional) featureGates is a map of feature names to bools that enable or disable experimental features. |
metricsListenAddressstring | The host and port that the metrics endpoint should listen on. The value “0” disables the metrics server. Defaults to ‘0.0.0.0:9402’. |
metricsTLSConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.TLSConfig | metricsTLSConfig is used to configure the metrics server TLS settings. |
EnableDataSourceConfig
(Appears on: CAInjectorConfiguration)
| Field | Description |
|---|---|
certificatesbool | Certificates determines whether cainjector’s control loops will watch cert-manager Certificate resources as potential sources of CA data. If not set, defaults to true. |
EnableInjectableConfig
(Appears on: CAInjectorConfiguration)
| Field | Description |
|---|---|
validatingWebhookConfigurationsbool | ValidatingWebhookConfigurations determines whether cainjector will spin up a control loop to inject CA data to annotated ValidatingWebhookConfigurations If not set, defaults to true. |
mutatingWebhookConfigurationsbool | MutatingWebhookConfigurations determines whether cainjector will spin up a control loop to inject CA data to annotated MutatingWebhookConfigurations If not set, defaults to true. |
customResourceDefinitionsbool | CustomResourceDefinitions determines whether cainjector will spin up a control loop to inject CA data to annotated CustomResourceDefinitions If not set, defaults to true. |
apiServicesbool | APIServices determines whether cainjector will spin up a control loop to inject CA data to annotated APIServices If not set, defaults to true. |
cert-manager.io/v1
Package v1 is the v1 version of the API.
Resource Types:
Certificate
A Certificate resource should be created to ensure an up to date and signed X.509 certificate is stored in the Kubernetes Secret resource named in spec.secretName.
The stored certificate will be renewed before it expires (as configured by spec.renewBefore).
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | cert-manager.io/v1 | ||||||||||||||||||||||||||||||||||||||||||||||
kindstring | Certificate | ||||||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | (Optional) Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Refer to the Kubernetes API documentation for the fields of themetadata field. | ||||||||||||||||||||||||||||||||||||||||||||||
specCertificateSpec | (Optional) Specification of the desired state of the Certificate resource. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
| ||||||||||||||||||||||||||||||||||||||||||||||
statusCertificateStatus | (Optional) Status of the Certificate. This is set and managed automatically. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status |
CertificateRequest
A CertificateRequest is used to request a signed certificate from one of the configured issuers.
All fields within the CertificateRequest’s spec are immutable after creation. A CertificateRequest will either succeed or fail, as denoted by its Ready status condition and its status.failureTime field.
A CertificateRequest is a one-shot resource, meaning it represents a single point in time request for a certificate and cannot be re-used.
| Field | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring | cert-manager.io/v1 | ||||||||||||||||||
kindstring | CertificateRequest | ||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta | (Optional) Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Refer to the Kubernetes API documentation for the fields of themetadata field. | ||||||||||||||||||
specCertificateRequestSpec | (Optional) Specification of the desired state of the CertificateRequest resource. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
| ||||||||||||||||||
statusCertificateRequestStatus | (Optional) Status of the CertificateRequest. This is set and managed automatically. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status |
ClusterIssuer
A ClusterIssuer represents a certificate issuing authority which can be referenced as part of issuerRef fields. It is similar to an Issuer, however it is cluster-scoped and therefore can be referenced by resources that exist in any namespace, not just the same namespace as the referent.
| Field | Description | ||
|---|---|---|---|
apiVersionstring | cert-manager.io/v1 | ||
kindstring | ClusterIssuer | ||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||
specIssuerSpec | Desired state of the ClusterIssuer resource.
| ||
statusIssuerStatus | (Optional) Status of the ClusterIssuer. This is set and managed automatically. |
Issuer
An Issuer represents a certificate issuing authority which can be referenced as part of issuerRef fields. It is scoped to a single namespace and can therefore only be referenced by resources within the same namespace.
| Field | Description | ||
|---|---|---|---|
apiVersionstring | cert-manager.io/v1 | ||
kindstring | Issuer | ||
metadataKubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the
| ||
specIssuerSpec | Desired state of the Issuer resource.
| ||
statusIssuerStatus | (Optional) Status of the Issuer. This is set and managed automatically. |
CAIssuer
(Appears on: IssuerConfig)
| Field | Description |
|---|---|
secretNamestring | SecretName is the name of the secret used to sign Certificates issued by this Issuer. |
crlDistributionPoints[]string | (Optional) The CRL distribution points is an X.509 v3 certificate extension which identifies the location of the CRL from which the revocation of this certificate can be checked. If not set, certificates will be issued without distribution points set. |
ocspServers[]string | (Optional) The OCSP server list is an X.509 v3 extension that defines a list of URLs of OCSP responders. The OCSP responders can be queried for the revocation status of an issued certificate. If not set, the certificate will be issued with no OCSP servers set. For example, an OCSP server URL could be “http://ocsp.int-x3.letsencrypt.org”. |
issuingCertificateURLs[]string | (Optional) IssuingCertificateURLs is a list of URLs which this issuer should embed into certificates it creates. See https://www.rfc-editor.org/rfc/rfc5280#section-4.2.2.1 for more details. As an example, such a URL might be “http://ca.domain.com/ca.crt”. |
CertificateAdditionalOutputFormat
(Appears on: CertificateSpec)
CertificateAdditionalOutputFormat defines an additional output format of a Certificate resource. These contain supplementary data formats of the signed certificate chain and paired private key.
| Field | Description |
|---|---|
typeCertificateOutputFormatType | Type is the name of the format type that should be written to the Certificate’s target Secret. |
CertificateCondition
(Appears on: CertificateStatus)
CertificateCondition contains condition information for a Certificate.
| Field | Description |
|---|---|
typeCertificateConditionType | Type of the condition, known values are ( |
statusgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.ConditionStatus | Status of the condition, one of ( |
lastTransitionTimeKubernetes meta/v1.Time | (Optional) LastTransitionTime is the timestamp corresponding to the last status change of this condition. |
reasonstring | (Optional) Reason is a brief machine readable explanation for the condition’s last transition. |
messagestring | (Optional) Message is a human readable description of the details of the last transition, complementing reason. |
observedGenerationint64 | (Optional) If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the Certificate. |
CertificateConditionType (string alias)
(Appears on: CertificateCondition)
CertificateConditionType represents a Certificate condition value.
| Value | Description |
|---|---|
"Issuing" | A condition added to Certificate resources when an issuance is required. This condition will be automatically added and set to true if: * No keypair data exists in the target Secret * The data stored in the Secret cannot be decoded * The private key and certificate do not have matching public keys * If a CertificateRequest for the current revision exists and the certificate data stored in the Secret does not match the
It will be removed by the ‘issuing’ controller upon completing issuance. |
"Ready" | CertificateConditionReady indicates that a certificate is ready for use. This is defined as: - The target secret exists - The target secret contains a certificate that has not expired - The target secret contains a private key valid for the certificate - The commonName and dnsNames attributes match those specified on the Certificate |
CertificateKeystores
(Appears on: CertificateSpec)
CertificateKeystores configures additional keystore output formats to be created in the Certificate’s output Secret.
| Field | Description |
|---|---|
jksJKSKeystore | (Optional) JKS configures options for storing a JKS keystore in the
|
pkcs12PKCS12Keystore | (Optional) PKCS12 configures options for storing a PKCS12 keystore in the
|
CertificateOutputFormatType (string alias)
(Appears on: CertificateAdditionalOutputFormat)
CertificateOutputFormatType specifies which additional output formats should be written to the Certificate’s target Secret. Allowed values are DER or CombinedPEM. When Type is set to DER an additional entry key.der will be written to the Secret, containing the binary format of the private key. When Type is set to CombinedPEM an additional entry tls-combined.pem
will be written to the Secret, containing the PEM formatted private key and signed certificate chain (tls.key + tls.crt concatenated).
| Value | Description |
|---|---|
"CombinedPEM" | CertificateOutputFormatCombinedPEM writes the Certificate’s signed certificate chain and private key, in PEM format, to the
|
"DER" | CertificateOutputFormatDER writes the Certificate’s private key in DER binary format to the |
CertificatePrivateKey
(Appears on: CertificateSpec)
CertificatePrivateKey contains configuration options for private keys used by the Certificate controller. These include the key algorithm and size, the used encoding and the rotation policy.
| Field | Description |
|---|---|
rotationPolicyPrivateKeyRotationPolicy | (Optional) RotationPolicy controls how private keys should be regenerated when a re-issuance is being processed. If set to |
encodingPrivateKeyEncoding | (Optional) The private key cryptography standards (PKCS) encoding for this certificate’s private key to be encoded in. If provided, allowed values are |
algorithmPrivateKeyAlgorithm | (Optional) Algorithm is the private key algorithm of the corresponding private key for this certificate. If provided, allowed values are either |
sizeint | (Optional) Size is the key bit size of the corresponding private key for this certificate. If |
CertificateRequestCondition
(Appears on: CertificateRequestStatus)
CertificateRequestCondition contains condition information for a CertificateRequest.
| Field | Description |
|---|---|
typeCertificateRequestConditionType | Type of the condition, known values are ( |
statusgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.ConditionStatus | Status of the condition, one of ( |
lastTransitionTimeKubernetes meta/v1.Time | (Optional) LastTransitionTime is the timestamp corresponding to the last status change of this condition. |
reasonstring | (Optional) Reason is a brief machine readable explanation for the condition’s last transition. |
messagestring | (Optional) Message is a human readable description of the details of the last transition, complementing reason. |
CertificateRequestConditionType (string alias)
(Appears on: CertificateRequestCondition)
CertificateRequestConditionType represents a Certificate condition value.
| Value | Description |
|---|---|
"Approved" | CertificateRequestConditionApproved indicates that a certificate request is approved and ready for signing. Condition must never have a status of
|
"Denied" | CertificateRequestConditionDenied indicates that a certificate request is denied, and must never be signed. Condition must never have a status of
|
"InvalidRequest" | CertificateRequestConditionInvalidRequest indicates that a certificate signer has refused to sign the request due to at least one of the input parameters being invalid. Additional information about why the request was rejected can be found in the |
"Ready" | CertificateRequestConditionReady indicates that a certificate is ready for use. This is defined as: - The target certificate exists in CertificateRequest.Status |
CertificateRequestSpec
(Appears on: CertificateRequest)
CertificateRequestSpec defines the desired state of CertificateRequest
NOTE: It is important to note that the issuer can choose to ignore or change any of the requested attributes. How the issuer maps a certificate request to a signed certificate is the full responsibility of the issuer itself. For example, as an edge case, an issuer that inverts the isCA value is free to do so.
| Field | Description |
|---|---|
durationKubernetes meta/v1.Duration | (Optional) Requested ‘duration’ (i.e. lifetime) of the Certificate. Note that the issuer may choose to ignore the requested duration, just like any other requested attribute. |
issuerRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.IssuerReference | Reference to the issuer responsible for issuing the certificate. If the issuer is namespace-scoped, it must be in the same namespace as the Certificate. If the issuer is cluster-scoped, it can be used from any namespace. The |
request[]byte | The PEM-encoded X.509 certificate signing request to be submitted to the issuer for signing. If the CSR has a BasicConstraints extension, its isCA attribute must match the |
isCAbool | (Optional) Requested basic constraints isCA value. Note that the issuer may choose to ignore the requested isCA value, just like any other requested attribute. NOTE: If the CSR in the If true, this will automatically add the |
usages[]KeyUsage | (Optional) Requested key usages and extended key usages. NOTE: If the CSR in the If unset, defaults to |
usernamestring | (Optional) Username contains the name of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable. |
uidstring | (Optional) UID contains the uid of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable. |
groups[]string | (Optional) Groups contains group membership of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable. |
extramap[string][]string | (Optional) Extra contains extra attributes of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable. |
CertificateRequestStatus
(Appears on: CertificateRequest)
CertificateRequestStatus defines the observed state of CertificateRequest and resulting signed certificate.
| Field | Description |
|---|---|
conditions[]CertificateRequestCondition | (Optional) List of status conditions to indicate the status of a CertificateRequest. Known condition types are |
certificate[]byte | (Optional) The PEM encoded X.509 certificate resulting from the certificate signing request. If not set, the CertificateRequest has either not been completed or has failed. More information on failure can be found by checking the
|
ca[]byte | (Optional) The PEM encoded X.509 certificate of the signer, also known as the CA (Certificate Authority). This is set on a best-effort basis by different issuers. If not set, the CA is assumed to be unknown/not available. |
failureTimeKubernetes meta/v1.Time | (Optional) FailureTime stores the time that this CertificateRequest failed. This is used to influence garbage collection and back-off. |
CertificateSecretTemplate
(Appears on: CertificateSpec)
CertificateSecretTemplate defines the default labels and annotations to be copied to the Kubernetes Secret resource named in CertificateSpec.secretName.
| Field | Description |
|---|---|
annotationsmap[string]string | (Optional) Annotations is a key value map to be copied to the target Kubernetes Secret. |
labelsmap[string]string | (Optional) Labels is a key value map to be copied to the target Kubernetes Secret. |
CertificateSpec
(Appears on: Certificate)
CertificateSpec defines the desired state of Certificate.
NOTE: The specification contains a lot of “requested” certificate attributes, it is important to note that the issuer can choose to ignore or change any of these requested attributes. How the issuer maps a certificate request to a signed certificate is the full responsibility of the issuer itself. For example, as an edge case, an issuer that inverts the isCA value is free to do so.
A valid Certificate requires at least one of a CommonName, LiteralSubject, DNSName, or URI to be valid.
| Field | Description |
|---|---|
subjectX509Subject | (Optional) Requested set of X509 certificate subject attributes. More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 The common name attribute is specified separately in the |
literalSubjectstring | (Optional) Requested X.509 certificate subject, represented using the LDAP “String Representation of a Distinguished Name” [1]. Important: the LDAP string format also specifies the order of the attributes in the subject, this is important when issuing certs for LDAP authentication. Example: Cannot be set if the |
commonNamestring | (Optional) Requested common name X509 certificate subject attribute. More info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6 NOTE: TLS clients will ignore this value when any subject alternative name is set (see https://tools.ietf.org/html/rfc6125#section-6.4.4). Should have a length of 64 characters or fewer to avoid generating invalid CSRs. Cannot be set if the |
durationKubernetes meta/v1.Duration | (Optional) Requested ‘duration’ (i.e. lifetime) of the Certificate. Note that the issuer may choose to ignore the requested duration, just like any other requested attribute. If unset, this defaults to 90 days. Minimum accepted duration is 1 hour. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration. |
renewBeforeKubernetes meta/v1.Duration | (Optional) How long before the currently issued certificate’s expiry cert-manager should renew the certificate. For example, if a certificate is valid for 60 minutes, and NOTE: The actual lifetime of the issued certificate is used to determine the renewal time. If an issuer returns a certificate with a different lifetime than the one requested, cert-manager will use the lifetime of the issued certificate. If unset, this defaults to 1⁄3 of the issued certificate’s lifetime. Minimum accepted value is 5 minutes. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration. Cannot be set if the |
renewBeforePercentageint32 | (Optional) NOTE: The actual lifetime of the issued certificate is used to determine the renewal time. If an issuer returns a certificate with a different lifetime than the one requested, cert-manager will use the lifetime of the issued certificate. Value must be an integer in the range (0,100). The minimum effective
|
dnsNames[]string | (Optional) Requested DNS subject alternative names. |
ipAddresses[]string | (Optional) Requested IP address subject alternative names. |
uris[]string | (Optional) Requested URI subject alternative names. |
otherNames[]OtherName | (Optional) |
emailAddresses[]string | (Optional) Requested email subject alternative names. |
secretNamestring | Name of the Secret resource that will be automatically created and managed by this Certificate resource. It will be populated with a private key and certificate, signed by the denoted issuer. The Secret resource lives in the same namespace as the Certificate resource. |
secretTemplateCertificateSecretTemplate | (Optional) Defines annotations and labels to be copied to the Certificate’s Secret. Labels and annotations on the Secret will be changed as they appear on the SecretTemplate when added or removed. SecretTemplate annotations are added in conjunction with, and cannot overwrite, the base set of annotations cert-manager sets on the Certificate’s Secret. |
keystoresCertificateKeystores | (Optional) Additional keystore output formats to be stored in the Certificate’s Secret. |
issuerRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.IssuerReference | Reference to the issuer responsible for issuing the certificate. If the issuer is namespace-scoped, it must be in the same namespace as the Certificate. If the issuer is cluster-scoped, it can be used from any namespace. The |
isCAbool | (Optional) Requested basic constraints isCA value. The isCA value is used to set the If true, this will automatically add the |
usages[]KeyUsage | (Optional) Requested key usages and extended key usages. These usages are used to set the If unset, defaults to |
privateKeyCertificatePrivateKey | (Optional) Private key options. These include the key algorithm and size, the used encoding and the rotation policy. |
signatureAlgorithmSignatureAlgorithm | (Optional) Signature algorithm to use. Allowed values for RSA keys: SHA256WithRSA, SHA384WithRSA, SHA512WithRSA. Allowed values for ECDSA keys: ECDSAWithSHA256, ECDSAWithSHA384, ECDSAWithSHA512. Allowed values for Ed25519 keys: PureEd25519. |
encodeUsagesInRequestbool | (Optional) Whether the KeyUsage and ExtKeyUsage extensions should be set in the encoded CSR. This option defaults to true, and should only be disabled if the target issuer does not support CSRs with these X509 KeyUsage/ ExtKeyUsage extensions. |
revisionHistoryLimitint32 | (Optional) The maximum number of CertificateRequest revisions that are maintained in the Certificate’s history. Each revision represents a single If set, revisionHistoryLimit must be a value of |
additionalOutputFormats[]CertificateAdditionalOutputFormat | (Optional) Defines extra output formats of the private key and signed certificate chain to be written to this Certificate’s target Secret. |
nameConstraintsNameConstraints | (Optional) x.509 certificate NameConstraint extension which MUST NOT be used in a non-CA certificate. More Info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10 This is an Alpha Feature and is only enabled with the
|
CertificateStatus
(Appears on: Certificate)
CertificateStatus defines the observed state of Certificate
| Field | Description |
|---|---|
conditions[]CertificateCondition | (Optional) List of status conditions to indicate the status of certificates. Known condition types are |
lastFailureTimeKubernetes meta/v1.Time | (Optional) LastFailureTime is set only if the latest issuance for this Certificate failed and contains the time of the failure. If an issuance has failed, the delay till the next issuance will be calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts - 1). If the latest issuance has succeeded this field will be unset. |
notBeforeKubernetes meta/v1.Time | (Optional) The time after which the certificate stored in the secret named by this resource in |
notAfterKubernetes meta/v1.Time | (Optional) The expiration time of the certificate stored in the secret named by this resource in |
renewalTimeKubernetes meta/v1.Time | (Optional) RenewalTime is the time at which the certificate will be next renewed. If not set, no upcoming renewal is scheduled. |
revisionint | (Optional) The current ‘revision’ of the certificate as issued. When a CertificateRequest resource is created, it will have the
Upon issuance, this field will be set to the value of the annotation on the CertificateRequest resource used to issue the certificate. Persisting the value on the CertificateRequest resource allows the certificates controller to know whether a request is part of an old issuance or if it is part of the ongoing revision’s issuance by checking if the revision value in the annotation is greater than this field. |
nextPrivateKeySecretNamestring | (Optional) The name of the Secret resource containing the private key to be used for the next certificate iteration. The keymanager controller will automatically set this field if the
|
failedIssuanceAttemptsint | (Optional) The number of continuous failed issuance attempts up till now. This field gets removed (if set) on a successful issuance and gets set to 1 if unset and an issuance has failed. If an issuance has failed, the delay till the next issuance will be calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts - 1). |
GenericIssuer
IssuerCondition
(Appears on: IssuerStatus)
IssuerCondition contains condition information for an Issuer.
| Field | Description |
|---|---|
typeIssuerConditionType | Type of the condition, known values are ( |
statusgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.ConditionStatus | Status of the condition, one of ( |
lastTransitionTimeKubernetes meta/v1.Time | (Optional) LastTransitionTime is the timestamp corresponding to the last status change of this condition. |
reasonstring | (Optional) Reason is a brief machine readable explanation for the condition’s last transition. |
messagestring | (Optional) Message is a human readable description of the details of the last transition, complementing reason. |
observedGenerationint64 | (Optional) If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the Issuer. |
IssuerConditionType (string alias)
(Appears on: IssuerCondition)
IssuerConditionType represents an Issuer condition value.
| Value | Description |
|---|---|
"Ready" | IssuerConditionReady represents the fact that a given Issuer condition is in ready state and able to issue certificates. If the |
IssuerConfig
(Appears on: IssuerSpec)
The configuration for the issuer. Only one of these can be set.
| Field | Description |
|---|---|
acmeACMEIssuer | (Optional) ACME configures this issuer to communicate with a RFC8555 (ACME) server to obtain signed x509 certificates. |
caCAIssuer | (Optional) CA configures this issuer to sign certificates using a signing CA keypair stored in a Secret resource. This is used to build internal PKIs that are managed by cert-manager. |
vaultVaultIssuer | (Optional) Vault configures this issuer to sign certificates using a HashiCorp Vault PKI backend. |
selfSignedSelfSignedIssuer | (Optional) SelfSigned configures this issuer to ‘self sign’ certificates using the private key used to create the CertificateRequest object. |
venafiVenafiIssuer | (Optional) Venafi configures this issuer to sign certificates using a Venafi TPP or Venafi Cloud policy zone. |
IssuerSpec
(Appears on: ClusterIssuer, Issuer)
IssuerSpec is the specification of an Issuer. This includes any configuration required for the issuer.
| Field | Description |
|---|---|
IssuerConfigIssuerConfig | (Members of |
IssuerStatus
(Appears on: ClusterIssuer, Issuer)
IssuerStatus contains status information about an Issuer
| Field | Description |
|---|---|
conditions[]IssuerCondition | (Optional) List of status conditions to indicate the status of a CertificateRequest. Known condition types are |
acmeACMEIssuerStatus | (Optional) ACME specific status options. This field should only be set if the Issuer is configured to use an ACME server to issue certificates. |
JKSKeystore
(Appears on: CertificateKeystores)
JKS configures options for storing a JKS keystore in the target secret. Either PasswordSecretRef or Password must be provided.
| Field | Description |
|---|---|
createbool | Create enables JKS keystore creation for the Certificate. If true, a file named |
aliasstring | (Optional) Alias specifies the alias of the key in the keystore, required by the JKS format. If not provided, the default alias |
passwordSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) PasswordSecretRef is a reference to a non-empty key in a Secret resource containing the password used to encrypt the JKS keystore. Mutually exclusive with password. One of password or passwordSecretRef must provide a password with a non-zero length. |
passwordstring | (Optional) Password provides a literal password used to encrypt the JKS keystore. Mutually exclusive with passwordSecretRef. One of password or passwordSecretRef must provide a password with a non-zero length. |
KeyUsage (string alias)
(Appears on: CertificateRequestSpec, CertificateSpec)
KeyUsage specifies valid usage contexts for keys. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12
Valid KeyUsage values are as follows: “signing”, “digital signature”, “content commitment”, “key encipherment”, “key agreement”, “data encipherment”, “cert sign”, “crl sign”, “encipher only”, “decipher only”, “any”, “server auth”, “client auth”, “code signing”, “email protection”, “s/mime”, “ipsec end system”, “ipsec tunnel”, “ipsec user”, “timestamping”, “ocsp signing”, “microsoft sgc”, “netscape sgc”
| Value | Description |
|---|---|
"any" | |
"crl sign" | |
"cert sign" | |
"client auth" | |
"code signing" | |
"content commitment" | |
"data encipherment" | |
"decipher only" | |
"digital signature" | |
"email protection" | |
"encipher only" | |
"ipsec end system" | |
"ipsec tunnel" | |
"ipsec user" | |
"key agreement" | |
"key encipherment" | |
"microsoft sgc" | |
"netscape sgc" | |
"ocsp signing" | |
"s/mime" | |
"server auth" | |
"signing" | |
"timestamping" |
NameConstraintItem
(Appears on: NameConstraints)
| Field | Description |
|---|---|
dnsDomains[]string | (Optional) DNSDomains is a list of DNS domains that are permitted or excluded. |
ipRanges[]string | (Optional) IPRanges is a list of IP Ranges that are permitted or excluded. This should be a valid CIDR notation. |
emailAddresses[]string | (Optional) EmailAddresses is a list of Email Addresses that are permitted or excluded. |
uriDomains[]string | (Optional) URIDomains is a list of URI domains that are permitted or excluded. |
NameConstraints
(Appears on: CertificateSpec)
NameConstraints is a type to represent x509 NameConstraints
| Field | Description |
|---|---|
criticalbool | (Optional) if true then the name constraints are marked critical. |
permittedNameConstraintItem | (Optional) Permitted contains the constraints in which the names must be located. |
excludedNameConstraintItem | (Optional) Excluded contains the constraints which must be disallowed. Any name matching a restriction in the excluded field is invalid regardless of information appearing in the permitted |
OtherName
(Appears on: CertificateSpec)
| Field | Description |
|---|---|
oidstring | OID is the object identifier for the otherName SAN. The object identifier must be expressed as a dotted string, for example, “1.2.840.113556.1.4.221”. |
utf8Valuestring | utf8Value is the string value of the otherName SAN. The utf8Value accepts any valid UTF8 string to set as value for the otherName SAN. |
PKCS12Keystore
(Appears on: CertificateKeystores)
PKCS12 configures options for storing a PKCS12 keystore in the
spec.secretName Secret resource.
| Field | Description |
|---|---|
createbool | Create enables PKCS12 keystore creation for the Certificate. If true, a file named |
profilePKCS12Profile | (Optional) Profile specifies the key and certificate encryption algorithms and the HMAC algorithm used to create the PKCS12 keystore. Default value is If provided, allowed values are:
|
passwordSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) PasswordSecretRef is a reference to a non-empty key in a Secret resource containing the password used to encrypt the PKCS#12 keystore. Mutually exclusive with password. One of password or passwordSecretRef must provide a password with a non-zero length. |
passwordstring | (Optional) Password provides a literal password used to encrypt the PKCS#12 keystore. Mutually exclusive with passwordSecretRef. One of password or passwordSecretRef must provide a password with a non-zero length. |
PKCS12Profile (string alias)
(Appears on: PKCS12Keystore)
| Value | Description |
|---|---|
"LegacyDES" | see: https://pkg.go.dev/software.sslmate.com/src/go-pkcs12#LegacyDES |
"LegacyRC2" | see: https://pkg.go.dev/software.sslmate.com/src/go-pkcs12#LegacyRC2 |
"Modern2023" | see: https://pkg.go.dev/software.sslmate.com/src/go-pkcs12#Modern2023 |
PrivateKeyAlgorithm (string alias)
(Appears on: CertificatePrivateKey)
| Value | Description |
|---|---|
"ECDSA" | ECDSA private key algorithm. |
"Ed25519" | Ed25519 private key algorithm. |
"RSA" | RSA private key algorithm. |
PrivateKeyEncoding (string alias)
(Appears on: CertificatePrivateKey)
| Value | Description |
|---|---|
"PKCS1" | PKCS1 private key encoding. PKCS1 produces a PEM block that contains the private key algorithm in the header and the private key in the body. A key that uses this can be recognised by its |
"PKCS8" | PKCS8 private key encoding. PKCS8 produces a PEM block with a static header and both the private key algorithm and the private key in the body. A key that uses this encoding can be recognised by its |
PrivateKeyRotationPolicy (string alias)
(Appears on: CertificatePrivateKey)
Denotes how private keys should be generated or sourced when a Certificate is being issued.
SelfSignedIssuer
(Appears on: IssuerConfig)
Configures an issuer to ‘self sign’ certificates using the private key used to create the CertificateRequest object.
| Field | Description |
|---|---|
crlDistributionPoints[]string | (Optional) The CRL distribution points is an X.509 v3 certificate extension which identifies the location of the CRL from which the revocation of this certificate can be checked. If not set certificate will be issued without CDP. Values are strings. |
ServiceAccountRef
(Appears on: VaultKubernetesAuth)
ServiceAccountRef is a service account used by cert-manager to request a token. Default audience is generated by cert-manager and takes the form vault://namespace-name/issuer-name for an Issuer and vault://issuer-name for a ClusterIssuer. The expiration of the token is also set by cert-manager to 10 minutes.
| Field | Description |
|---|---|
namestring | Name of the ServiceAccount used to request a token. |
audiences[]string | (Optional) TokenAudiences is an optional list of extra audiences to include in the token passed to Vault. The default token consisting of the issuer’s namespace and name is always included. |
SignatureAlgorithm (string alias)
(Appears on: CertificateSpec)
| Value | Description |
|---|---|
"ECDSAWithSHA256" | |
"ECDSAWithSHA384" | |
"ECDSAWithSHA512" | |
"PureEd25519" | |
"SHA256WithRSA" | |
"SHA384WithRSA" | |
"SHA512WithRSA" |
VaultAppRole
(Appears on: VaultAuth)
VaultAppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
| Field | Description |
|---|---|
pathstring | Path where the App Role authentication backend is mounted in Vault, e.g: “approle” |
roleIdstring | RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault. |
secretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The |
VaultAuth
(Appears on: VaultIssuer)
VaultAuth is configuration used to authenticate with a Vault server. The order of precedence is [tokenSecretRef, appRole, clientCertificate or kubernetes].
| Field | Description |
|---|---|
tokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) TokenSecretRef authenticates with Vault by presenting a token. |
appRoleVaultAppRole | (Optional) AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource. |
clientCertificateVaultClientCertificateAuth | (Optional) ClientCertificate authenticates with Vault by presenting a client certificate during the request’s TLS handshake. Works only when using HTTPS protocol. |
kubernetesVaultKubernetesAuth | (Optional) Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server. |
VaultClientCertificateAuth
(Appears on: VaultAuth)
VaultKubernetesAuth is used to authenticate against Vault using a client certificate stored in a Secret.
| Field | Description |
|---|---|
mountPathstring | (Optional) The Vault mountPath here is the mount path to use when authenticating with Vault. For example, setting a value to |
secretNamestring | (Optional) Reference to Kubernetes Secret of type “kubernetes.io/tls” (hence containing tls.crt and tls.key) used to authenticate to Vault using TLS client authentication. |
namestring | (Optional) Name of the certificate role to authenticate against. If not set, matching any certificate role, if available. |
VaultIssuer
(Appears on: IssuerConfig)
Configures an issuer to sign certificates using a HashiCorp Vault PKI backend.
| Field | Description |
|---|---|
authVaultAuth | Auth configures how cert-manager authenticates with the Vault server. |
serverstring | Server is the connection address for the Vault server, e.g: “https://vault.example.com:8200”. |
serverNamestring | (Optional) ServerName is used to verify the hostname on the returned certificates by the Vault server. |
pathstring | Path is the mount path of the Vault PKI backend’s |
namespacestring | (Optional) Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: “ns1” More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces |
caBundle[]byte | (Optional) Base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by Vault. Only used if using HTTPS to connect to Vault and ignored for HTTP connections. Mutually exclusive with CABundleSecretRef. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection. |
caBundleSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) Reference to a Secret containing a bundle of PEM-encoded CAs to use when verifying the certificate chain presented by Vault when using HTTPS. Mutually exclusive with CABundle. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection. If no key for the Secret is specified, cert-manager will default to ‘ca.crt’. |
clientCertSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) Reference to a Secret containing a PEM-encoded Client Certificate to use when the Vault server requires mTLS. |
clientKeySecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) Reference to a Secret containing a PEM-encoded Client Private Key to use when the Vault server requires mTLS. |
VaultKubernetesAuth
(Appears on: VaultAuth)
Authenticate against Vault using a Kubernetes ServiceAccount token stored in a Secret.
| Field | Description |
|---|---|
mountPathstring | (Optional) The Vault mountPath here is the mount path to use when authenticating with Vault. For example, setting a value to |
secretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) The required Secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. Use of ‘ambient credentials’ is not supported. |
serviceAccountRefServiceAccountRef | (Optional) A reference to a service account that will be used to request a bound token (also known as “projected token”). Compared to using “secretRef”, using this field means that you don’t rely on statically bound tokens. To use this field, you must configure an RBAC rule to let cert-manager request a token. |
rolestring | A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies. |
VenafiCloud
(Appears on: VenafiIssuer)
VenafiCloud defines connection configuration details for Venafi Cloud
| Field | Description |
|---|---|
urlstring | (Optional) URL is the base URL for Venafi Cloud. Defaults to “https://api.venafi.cloud/”. |
apiTokenSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | APITokenSecretRef is a secret key selector for the Venafi Cloud API token. |
VenafiIssuer
(Appears on: IssuerConfig)
Configures an issuer to sign certificates using a Venafi TPP or Cloud policy zone.
| Field | Description |
|---|---|
zonestring | Zone is the Venafi Policy Zone to use for this issuer. All requests made to the Venafi platform will be restricted by the named zone policy. This field is required. |
tppVenafiTPP | (Optional) TPP specifies Trust Protection Platform configuration settings. Only one of TPP or Cloud may be specified. |
cloudVenafiCloud | (Optional) Cloud specifies the Venafi cloud configuration settings. Only one of TPP or Cloud may be specified. |
VenafiTPP
(Appears on: VenafiIssuer)
VenafiTPP defines connection configuration details for a Venafi TPP instance
| Field | Description |
|---|---|
urlstring | URL is the base URL for the vedsdk endpoint of the Venafi TPP instance, for example: “https://tpp.example.com/vedsdk”. |
credentialsRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.LocalObjectReference | CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials. The secret must contain the key ‘access-token’ for the Access Token Authentication, or two keys, ‘username’ and ‘password’ for the API Keys Authentication. |
caBundle[]byte | (Optional) Base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by the TPP server. Only used if using HTTPS; ignored for HTTP. If undefined, the certificate bundle in the cert-manager controller container is used to validate the chain. |
caBundleSecretRefgithub.com/cert-manager/cert-manager/pkg/apis/meta/v1.SecretKeySelector | (Optional) Reference to a Secret containing a base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by the TPP server. Only used if using HTTPS; ignored for HTTP. Mutually exclusive with CABundle. If neither CABundle nor CABundleSecretRef is defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection. |
X509Subject
(Appears on: CertificateSpec)
X509Subject Full X509 name specification
| Field | Description |
|---|---|
organizations[]string | (Optional) Organizations to be used on the Certificate. |
countries[]string | (Optional) Countries to be used on the Certificate. |
organizationalUnits[]string | (Optional) Organizational Units to be used on the Certificate. |
localities[]string | (Optional) Cities to be used on the Certificate. |
provinces[]string | (Optional) State/Provinces to be used on the Certificate. |
streetAddresses[]string | (Optional) Street addresses to be used on the Certificate. |
postalCodes[]string | (Optional) Postal codes to be used on the Certificate. |
serialNumberstring | (Optional) Serial number to be used on the Certificate. |
controller.config.cert-manager.io/v1alpha1
Package v1alpha1 is the v1alpha1 version of the controller config API.
Resource Types:
ACMEDNS01Config
(Appears on: ControllerConfiguration)
| Field | Description |
|---|---|
recursiveNameservers[]string | Each nameserver can be either the IP address and port of a standard recursive DNS server, or the endpoint to an RFC 8484 DNS over HTTPS endpoint. For example, the following values are valid: - “8.8.8.8:53” (Standard DNS) - “https://1.1.1.1/dns-query” (DNS over HTTPS) |
recursiveNameserversOnlybool | When true, cert-manager will only ever query the configured DNS resolvers to perform the ACME DNS01 self check. This is useful in DNS constrained environments, where access to authoritative nameservers is restricted. Enabling this option could cause the DNS01 self check to take longer due to caching performed by the recursive nameservers. |
checkRetryPeriodgithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.Duration | The duration the controller should wait between a propagation check. Despite the name, this flag is used to configure the wait period for both DNS01 and HTTP01 challenge propagation checks. For DNS01 challenges the propagation check verifies that a TXT record with the challenge token has been created. For HTTP01 challenges the propagation check verifies that the challenge token is served at the challenge URL. This should be a valid duration string, for example 180s or 1h |
ACMEHTTP01Config
(Appears on: ControllerConfiguration)
| Field | Description |
|---|---|
solverImagestring | The Docker image to use to solve ACME HTTP01 challenges. You most likely will not need to change this parameter unless you are testing a new feature or developing cert-manager. |
solverResourceRequestCPUstring | Defines the resource request CPU size when spawning new ACME HTTP01 challenge solver pods. |
solverResourceRequestMemorystring | Defines the resource request Memory size when spawning new ACME HTTP01 challenge solver pods. |
solverResourceLimitsCPUstring | Defines the resource limits CPU size when spawning new ACME HTTP01 challenge solver pods. |
solverResourceLimitsMemorystring | Defines the resource limits Memory size when spawning new ACME HTTP01 challenge solver pods. |
solverRunAsNonRootbool | Defines the ability to run the http01 solver as root for troubleshooting issues |
solverNameservers[]string | A list of comma separated dns server endpoints used for ACME HTTP01 check requests. This should be a list containing host and port, for example [“8.8.8.8:53”,“8.8.4.4:53”] Allows specifying a list of custom nameservers to perform HTTP01 checks on. |
ControllerConfiguration
| Field | Description |
|---|---|
kubeConfigstring | kubeConfig is the kubeconfig file used to connect to the Kubernetes apiserver. If not specified, the controller will attempt to load the in-cluster-config. |
apiServerHoststring | apiServerHost is used to override the API server connection address. Deprecated: use |
kubernetesAPIQPSfloat32 | Indicates the maximum queries-per-second requests to the Kubernetes apiserver TODO: floats are not recommended. Maybe we should use resource.Quantity? https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/ |
kubernetesAPIBurstint32 | The maximum burst queries-per-second of requests sent to the Kubernetes apiserver |
namespacestring | If set, this limits the scope of cert-manager to a single namespace and ClusterIssuers are disabled. If not specified, all namespaces will be watched |
clusterResourceNamespacestring | Namespace to store resources owned by cluster scoped resources such as ClusterIssuer in. |
leaderElectionConfigLeaderElectionConfig | LeaderElectionConfig configures the behaviour of the leader election |
controllers[]string | A list of controllers to enable. [’’] enables all controllers, [‘foo’] enables only the foo controller [’’, ‘-foo’] disables the controller named foo. |
issuerAmbientCredentialsbool | Whether an issuer may make use of ambient credentials. ‘Ambient Credentials’ are credentials drawn from the environment, metadata services, or local files which are not explicitly configured in the Issuer API object. When this flag is enabled, the following sources for credentials are also used: AWS - All sources the Go SDK defaults to, notably including any EC2 IAM roles available via instance metadata. |
clusterIssuerAmbientCredentialsbool | Whether a cluster-issuer may make use of ambient credentials for issuers. ‘Ambient Credentials’ are credentials drawn from the environment, metadata services, or local files which are not explicitly configured in the ClusterIssuer API object. When this flag is enabled, the following sources for credentials are also used: AWS - All sources the Go SDK defaults to, notably including any EC2 IAM roles available via instance metadata. |
enableCertificateOwnerRefbool | Whether to set the certificate resource as an owner of secret where the tls certificate is stored. When this flag is enabled, the secret will be automatically removed when the certificate resource is deleted. |
enableGatewayAPIbool | Whether gateway API integration is enabled within cert-manager. The ExperimentalGatewayAPISupport feature gate must also be enabled (default as of 1.15). |
copiedAnnotationPrefixes[]string | Specify which annotations should/shouldn’t be copied from Certificate to CertificateRequest and Order, as well as from CertificateSigningRequest to Order, by passing a list of annotation key prefixes. A prefix starting with a dash(-) specifies an annotation that shouldn’t be copied. Example: ‘*,-kubectl.kubernetes.io/’- all annotations will be copied apart from the ones where the key is prefixed with ‘kubectl.kubernetes.io/’. |
numberOfConcurrentWorkersint32 | The number of concurrent workers for each controller. |
maxConcurrentChallengesint32 | The maximum number of challenges that can be scheduled as ‘processing’ at once. |
metricsListenAddressstring | The host and port that the metrics endpoint should listen on. |
metricsTLSConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.TLSConfig | TLS config for the metrics endpoint |
healthzListenAddressstring | The host and port address, separated by a ‘:’, that the healthz server should listen on. |
enablePprofbool | Enable profiling for controller. |
pprofAddressstring | The host and port that Go profiler should listen on, i.e localhost:6060. Ensure that profiler is not exposed on a public address. Profiler will be served at /debug/pprof. |
loggingk8s.io/component-base/logs/api/v1.LoggingConfiguration | logging configures the logging behaviour of the controller. https://pkg.go.dev/k8s.io/component-base@v0.27.3/logs/api/v1#LoggingConfiguration |
featureGatesmap[string]bool | (Optional) featureGates is a map of feature names to bools that enable or disable experimental features. |
ingressShimConfigIngressShimConfig | ingressShimConfig configures the behaviour of the ingress-shim controller |
acmeHTTP01ConfigACMEHTTP01Config | acmeHTTP01Config configures the behaviour of the ACME HTTP01 challenge solver |
acmeDNS01ConfigACMEDNS01Config | acmeDNS01Config configures the behaviour of the ACME DNS01 challenge solver |
IngressShimConfig
(Appears on: ControllerConfiguration)
| Field | Description |
|---|---|
defaultIssuerNamestring | Default issuer/certificates details consumed by ingress-shim Name of the Issuer to use when the tls is requested but issuer name is not specified on the ingress resource. |
defaultIssuerKindstring | Kind of the Issuer to use when the TLS is requested but issuer kind is not specified on the ingress resource. |
defaultIssuerGroupstring | Group of the Issuer to use when the TLS is requested but issuer group is not specified on the ingress resource. |
defaultAutoCertificateAnnotations[]string | The annotation consumed by the ingress-shim controller to indicate an ingress is requesting a certificate |
extraCertificateAnnotations[]string | ExtraCertificateAnnotations is a list of annotations which should be copied from and ingress-like object to a Certificate. |
LeaderElectionConfig
(Appears on: ControllerConfiguration)
| Field | Description |
|---|---|
LeaderElectionConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.LeaderElectionConfig | (Members of |
healthzTimeoutgithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.Duration | Leader election healthz checks within this timeout period after the lease expires will still return healthy. |
webhook.config.cert-manager.io/v1alpha1
Package v1alpha1 is the v1alpha1 version of the webhook config API.
Resource Types:
WebhookConfiguration
| Field | Description |
|---|---|
securePortint32 | securePort is the port number to listen on for secure TLS connections from the kube-apiserver. If 0, a random available port will be chosen. Defaults to 6443. |
healthzPortint32 | healthzPort is the port number to listen on (using plaintext HTTP) for healthz connections. If 0, a random available port will be chosen. Defaults to 6080. |
tlsConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.TLSConfig | tlsConfig is used to configure the secure listener’s TLS settings. |
kubeConfigstring | kubeConfig is the kubeconfig file used to connect to the Kubernetes apiserver. If not specified, the webhook will attempt to load the in-cluster-config. |
apiServerHoststring | apiServerHost is used to override the API server connection address. Deprecated: use |
enablePprofbool | enablePprof configures whether pprof is enabled. |
pprofAddressstring | pprofAddress configures the address on which /debug/pprof endpoint will be served if enabled. Defaults to ‘localhost:6060’. |
loggingk8s.io/component-base/logs/api/v1.LoggingConfiguration | logging configures the logging behaviour of the webhook. https://pkg.go.dev/k8s.io/component-base@v0.27.3/logs/api/v1#LoggingConfiguration |
featureGatesmap[string]bool | (Optional) featureGates is a map of feature names to bools that enable or disable experimental features. |
metricsListenAddressstring | The host and port that the metrics endpoint should listen on. The value “0” disables the metrics server. Defaults to ‘0.0.0.0:9402’. |
metricsTLSConfiggithub.com/cert-manager/cert-manager/pkg/apis/config/shared/v1alpha1.TLSConfig | metricsTLSConfig is used to configure the metrics server TLS settings. |
Generated with gen-crd-api-reference-docs on git commit 12a3ef9.