What is an API key?
Definition
An API key is a value that software includes when calling a service. Depending on the provider, it can identify the calling application, associate requests with an account, or authorise access to particular resources.
Keys may also determine which account pays for usage or which quotas apply. Treat keys that grant access as credentials: keep them private and revoke them if exposed.
Why it matters
A key connects software activity to a particular provider account, which can affect access, quotas and billing. Using a colleague’s personal key for a shared business tool can create problems when they leave, lose access or change their account settings. A clearly owned organisation account makes those responsibilities easier to manage.
Before connecting a service, establish a few practical details:
- Which account owns the key, and who receives its usage bill?
- What can the key access, and can those permissions be restricted?
- Who can replace or revoke it if access needs to change?
These questions help separate the subscription for an application from any usage charges incurred through a connected provider.