> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys

> Manage your bunny.net API key for programmatic access.

Your API key lets you programmatically update your zones and account settings via the [bunny.net API](/docs/api-reference).

You can find your API key at [Account > API Key](https://dash.bunny.net/account/api-key).

<Frame>
  <img src="https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/images/accounts-and-billing/api-key.png?fit=max&auto=format&n=1bTPx1eyQm8EK8W3&q=85&s=37f4db4aaf9dcd8f0418f9be4c8c16b6" alt="API key" width="1448" height="372" data-path="images/accounts-and-billing/api-key.png" />
</Frame>

## Viewing your API key

Your API key is hidden by default. Click the eye icon to reveal it, or the copy icon to copy it to your clipboard.

<Frame>
  <img src="https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/images/accounts-and-billing/reveal-api-key.png?fit=max&auto=format&n=1bTPx1eyQm8EK8W3&q=85&s=e6fee7302761f60fa0d51f7435a86e60" alt="Reveal API key" width="576" height="234" data-path="images/accounts-and-billing/reveal-api-key.png" />
</Frame>

## Regenerating your API key

If your API key is compromised, click the refresh icon to generate a new one. You'll be asked to confirm before the key is reset.

<Frame>
  <img src="https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/images/accounts-and-billing/reset-api-key.png?fit=max&auto=format&n=1bTPx1eyQm8EK8W3&q=85&s=877a84cbb9bab8ff2301eacad4c52033" alt="Reset API key" width="510" height="242" data-path="images/accounts-and-billing/reset-api-key.png" />
</Frame>

<Warning>
  Resetting your API key will disable the old key immediately. Any applications
  or scripts using the old key will stop working.
</Warning>

## Keep your API key safe

Your API key has full access to your account. Never share it publicly or commit it to version control.

<Note>
  This is your account-level API key. Storage zones, Stream libraries, and
  databases each have their own separate API keys for accessing those specific
  services.
</Note>
