withStripeReference
Method
interface ContainerResource { // ... omitted for brevity withStripeReference( source: StripeResource, webhookSigningSecretEnvVarName?: string): IResourceWithEnvironment;}Signature
method
withStripeReferencebuilderAdds a reference to a Stripe CLI resource for accessing its webhook signing secret.
withStripeReference( source: StripeResource, webhookSigningSecretEnvVarName?: string): IResourceWithEnvironmentParameters
sourceStripeResourcewebhookSigningSecretEnvVarNamestringoptional= STRIPE_WEBHOOK_SECRETReturns
IResourceWithEnvironmentApplies to
This method applies to the following types: