withStripeReference
Method
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): IResourceWithEnvironmentParameters
source StripeResource webhookSigningSecretEnvVarName string optional = STRIPE_WEBHOOK_SECRET Returns
IResourceWithEnvironment Applies to
This method applies to the following types: