StripeResource.WithApiKey
Method
type StripeResource interface { // ... omitted for brevity WithApiKey(apiKey ParameterResource) StripeResource}Signature
method
WithApiKey builderConfigures the Stripe CLI to use a specific API key from a parameter.
WithApiKey(apiKey ParameterResource) StripeResourceParameters
apiKey ParameterResource The parameter containing the Stripe API key to use.Returns
StripeResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: