Skip to content
DocsTry Aspire
DocsTry

withStripeReference

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.4.0
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
sourceStripeResource
webhookSigningSecretEnvVarNamestringoptional= STRIPE_WEBHOOK_SECRET
IResourceWithEnvironment

Applies to

This method applies to the following types: