withStripeReference

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.6.1
interface ContainerResource {
// ... omitted for brevity
withStripeReference(
source: StripeResource,
webhookSigningSecretEnvVarName?: string): IResourceWithEnvironment;
}

Signature

methodwithStripeReferencebuilder
Adds a reference to a Stripe CLI resource for accessing its webhook signing secret.
withStripeReference(
source: StripeResource,
webhookSigningSecretEnvVarName?: string): IResourceWithEnvironment
sourceStripeResourceThe Stripe CLI resource to reference.
webhookSigningSecretEnvVarNamestringoptional= STRIPE_WEBHOOK_SECRETOptional environment variable name to use for the webhook signing secret. Defaults to "STRIPE_WEBHOOK_SECRET".
IResourceWithEnvironment

Applies to

This method applies to the following types: