Skip to content
Docs Try Aspire
Docs Try

withStripeReference

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

Signature

method withStripeReference builder
Adds a reference to a Stripe CLI resource for accessing its webhook signing secret.
withStripeReference(
source: StripeResource,
webhookSigningSecretEnvVarName?: string): IResourceWithEnvironment
source StripeResource
webhookSigningSecretEnvVarName string optional = STRIPE_WEBHOOK_SECRET
IResourceWithEnvironment

Applies to

This method applies to the following types: