Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithApiKey

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.6.1
func (StripeResource) WithApiKey(apiKey ParameterResource) StripeResource

Signature

methodWithApiKeybuilder
Configures the Stripe CLI to use a specific API key from a parameter.
WithApiKey(apiKey ParameterResource) StripeResource
apiKeyParameterResourceThe parameter containing the Stripe API key to use.
StripeResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: