# Data and security

> How KONG API AI stores API keys, AI source credentials and usage data, and how to delete them.

Source: https://kongapiai.com/en/docs/data-security

## API keys

- A key is shown in full only once, when it is created.
- The system stores only a hash of the key, so nobody can read the original back.
- Lost a key: revoke it in the console and create a new one.

## AI source credentials

When you connect an API key or a provider account:

- The credential is encrypted before it is stored.
- It is used only to send the requests of your own workspace.
- Nobody can read it back through the console or the API.

## Who sees what

| Who | Sees |
| --- | --- |
| The holder of a key | The limit, models and usage of that key |
| A workspace admin | The usage of every key, member and customer in the workspace |
| Other workspaces | Nothing of yours |

## Deleting data

- Remove an AI source: its credential is deleted at once.
- Revoke a key: the key stops at once.
- Delete a whole workspace and its history: contact support.

## The browser

The console does not store API keys in the browser. The key check page does not save the key you paste.
