Skip to content
DocsTry Aspire
DocsTry

withApiKey

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.4.0
interface StripeResource {
// ... omitted for brevity
withApiKey(apiKey: ParameterResource): StripeResource;
}

Signature

methodwithApiKeybuilder
Configures the Stripe CLI to use a specific API key from a parameter.
withApiKey(apiKey: ParameterResource): StripeResource
apiKeyParameterResource
StripeResource

Applies to

This method applies to the following types: