WithStripeReference
Method
func (ResourceWithEnvironment) WithStripeReference( source StripeResource, options ...*WithStripeReferenceOptions,) ResourceWithEnvironmentSignature
method
WithStripeReference builderAdds a reference to a Stripe CLI resource for accessing its webhook signing secret.
WithStripeReference( source StripeResource, options ...*WithStripeReferenceOptions,) ResourceWithEnvironmentParameters
sourceStripeResource The Stripe CLI resource to reference.options...*WithStripeReferenceOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithStripeReferenceOptions argument.
WebhookSigningSecretEnvVarName *stringOptional environment variable name to use for the webhook signing secret. Defaults to "STRIPE_WEBHOOK_SECRET".Returns
ResourceWithEnvironment A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
CSharpAppResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ProjectResourcetype
StripeResource