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