CertManagerIssuerResource

Handle
📦 Aspire.Hosting.Kubernetes v17.0.0

Represents a cert-manager ClusterIssuer resource in the Aspire application model.

type CertManagerIssuerResource interface {
Resource
ResourceWithParent
}

Methods

methodWithAcmeServerbuilder
Configures the ACME directory URL and contact email using either two strings or two parameters.
WithAcmeServer(
serverUrl any,
email any,
) CertManagerIssuerResource
serverUrlanyThe ACME directory URL, as a string or parameter resource builder.
emailanyThe account contact email, as a string or parameter resource builder.
CertManagerIssuerResource

The resource builder.

Returns a handle; failures surface later via Err().

Configures External Account Binding (EAB) with a key identifier and secret HMAC key resolved at deploy time.
WithExternalAccountBinding(
keyId ParameterResource,
hmacKey ParameterResource,
) CertManagerIssuerResource
keyIdParameterResourceA parameter containing the key identifier supplied by the ACME provider.
hmacKeyParameterResourceA secret parameter containing the provider's base64url-encoded HMAC key.
CertManagerIssuerResource

The resource builder.

Returns a handle; failures surface later via Err().

methodWithHttp01Solverbuilder
Adds an HTTP-01 ACME challenge solver to the issuer. cert-manager will satisfy the challenge by provisioning a temporary HTTP route at /.well-known/acme-challenge/{token} on the same hostname being validated. This requires the hostname to be publicly reachable on port 80.
WithHttp01Solver() CertManagerIssuerResource
CertManagerIssuerResource

The resource builder.

Returns a handle; failures surface later via Err().