Using the provider configuration
Set theapi_key attribute directly in your provider configuration:
Using environment variables
Alternatively, set theBUNNYNET_API_KEY environment variable:
api_key attribute:
Provider configuration options
| Attribute | Description | Default |
|---|---|---|
api_key | Your bunny.net API key | BUNNYNET_API_KEY env var |
api_url | Primary API endpoint | https://api.bunny.net |
stream_api_url | Video streaming API endpoint | https://video.bunnycdn.com |
container_api_url | Container service API endpoint | https://api-mc.opsbunny.net |
You can find your API key in the bunny.net dashboard.