API Keys

API keys authenticate programmatic access to Chainlink Platform products, such as the CRE CLI, the ACE APIs, and the CRE Connect API. This page describes how API key permissions work, which permissions are available for each product, and how to create and manage API keys.

How API keys work

An API key is an organization-level credential. When you create an API key, you select the permissions the key has, and the key can act only within those permissions.

  • A single API key can include permissions for multiple products. For example, one key can deploy CRE workflows and read ACE reports.
  • API key permissions are a subset of all permissions. Some permissions, such as managing members or billing, are available only to organization members through their roles.
  • An API key can act only within the permissions you select for it.
  • You can give an API key only permissions that your own roles include. When you edit a key, you can keep permissions it already has even if your roles don't include them.

To create and manage API keys, you need a role that includes API key permissions, such as Platform User, Platform Admin, or Owner. See RBAC for the full list of roles.

Available permissions

The following tables list the permissions you can assign to an API key for each product, grouped the same way as the API Scope section of the creation form. Role columns show which member roles include each permission, so you can match a key's access to a role. The Name column shows the label used in the API Scope section of the form. A check mark indicates that the role includes the permission. The Owner role includes every permission for every product. For what each role is for, and for the permissions available only to members, see RBAC.

NamePermissionDescriptionAdminUser
Organization: Readplatform:organization:readView organization information.✓✓
Owner address: Readplatform:owner_address:readView the organization's addresses in the address book.✓✓

CRE

NamePermissionDescriptionAdminDeveloperViewer
Workflow: Readcre:workflow:readView workflows.✓✓✓
Workflow artifact: Readcre:workflow:artifact:readDownload workflow artifacts.✓✓✓
Workflow artifact: Writecre:workflow:artifact:writeUpload workflow artifacts, which is required to deploy a workflow.✓✓
Workflow: Write (Private registry)cre:workflow:write/private_registryDeploy, pause, activate, and delete workflows in the private registry.✓✓
Owner address linking: Write (Cre)platform:owner_address:linking:write/creLink and unlink workflow owner addresses, which is required to deploy workflows to the onchain registry.✓

ACE

Policy manager

NamePermissionDescriptionAdminOperatorViewer
Policy manager policy engine: Readace:policy_manager:policy_engine:readRead policy engines.✓✓✓
Policy manager policy engine: Writeace:policy_manager:policy_engine:writeCreate and update policy engine.✓✓
Policy manager policy engine archive: Writeace:policy_manager:policy_engine:archive:writeArchive policy engine (affects everything deployed under it).✓
Policy manager policy: Readace:policy_manager:policy:readRead policies and data validator instances.✓✓✓
Policy manager policy: Writeace:policy_manager:policy:writeCreate and update policy and data validator instances.✓✓
Policy manager policy archive: Writeace:policy_manager:policy:archive:writeArchive policy and data validator instances.✓✓
Policy manager target: Readace:policy_manager:target:readRead targets and their protections.✓✓✓
Policy manager target: Writeace:policy_manager:target:writeCreate and update target and its protections.✓✓
Policy manager target archive: Writeace:policy_manager:target:archive:writeArchive target and its protections.✓✓
Policy manager target access: Readace:policy_manager:target_access:readRead a target's cross-org evaluation access grants.✓
Policy manager target access: Writeace:policy_manager:target_access:writeGrant and revoke cross-org evaluation access to a target.✓
Policy manager implementation: Readace:policy_manager:implementation:readRead extractors and policy types.✓✓✓
Policy manager implementation: Writeace:policy_manager:implementation:writeCreate and update extractor or policy type (updates affect every instance built on it).✓✓
Policy manager implementation archive: Writeace:policy_manager:implementation:archive:writeArchive extractor or policy type (affects every instance built on it).✓

Identity manager

NamePermissionDescriptionAdminOperatorViewer
Identity manager registry: Readace:identity_manager:registry:readRead identity and credential registries, and credential types.✓✓✓
Identity manager registry: Writeace:identity_manager:registry:writeCreate and update identity or credential registry, and credential types.✓✓
Identity manager registry archive: Writeace:identity_manager:registry:archive:writeArchive identity or credential registry (affects everything deployed under it).✓
Identity manager registry access: Readace:identity_manager:registry_access:readRead a registry's cross-org access grants.✓
Identity manager registry access: Writeace:identity_manager:registry_access:writeGrant and revoke cross-org read access to a registry.✓
Identity manager identity: Readace:identity_manager:identity:readRead identities and credentials.✓✓✓
Identity manager identity: Writeace:identity_manager:identity:writeCreate and update identity, and assign credentials.✓✓
Identity manager identity archive: Writeace:identity_manager:identity:archive:writeArchive identity and credentials.✓✓

Reporting

NamePermissionDescriptionAdminOperatorViewer
Reporting policy: Readace:reporting:policy:readRead the reporting service's policy view.✓✓✓
Reporting identity: Readace:reporting:identity:readRead the reporting service's identity view.✓✓✓
Reporting target: Readace:reporting:target:readRead the reporting service's target view.✓✓✓
Reporting transaction: Readace:reporting:transaction:readRead the reporting service's transaction view.✓✓✓
Reporting permit: Readace:reporting:permit:readRead the reporting service's permit view.✓✓✓
Reporting registry: Readace:reporting:registry:readRead the reporting service's registry usage view.✓✓✓

Evaluation

NamePermissionDescriptionAdminOperatorViewer
Evaluation permit: Readace:evaluation:permit:readRead evaluation permits.✓✓✓
Evaluation permit: Writeace:evaluation:permit:writeCreate evaluation permit.✓✓

Core

NamePermissionDescriptionAdminOperatorViewer
Core org config: Readace:core:org_config:readRead organization details.✓✓✓
Core network: Readace:core:network:readRead supported networks.✓✓✓
Core wallet: Readace:core:wallet:readRead wallets.✓✓✓
Core wallet: Writeace:core:wallet:writeCreate wallet.✓

Active monitoring

NamePermissionDescriptionAdminOperatorViewer
Active monitoring action variable: Readace:active_monitoring:action_variable:readRead action variables.✓✓✓
Active monitoring contract group: Readace:active_monitoring:contract_group:readRead contract groups.✓✓✓
Active monitoring contract group: Writeace:active_monitoring:contract_group:writeCreate contract groups.✓✓
Active monitoring rule group: Readace:active_monitoring:rule_group:readRead rule groups.✓✓✓
Active monitoring rule group: Writeace:active_monitoring:rule_group:writeCreate and update rule groups.✓✓
Active monitoring monitored address: Readace:active_monitoring:monitored_address:readRead monitored addresses.✓✓✓
Active monitoring monitored address: Writeace:active_monitoring:monitored_address:writeAdd addresses to the screening watch list.✓✓
Active monitoring screening interval: Readace:active_monitoring:screening_interval:readRead the screening interval.✓✓✓
Active monitoring screening interval: Writeace:active_monitoring:screening_interval:writeSet, remove, start and stop the screening interval.✓✓
Active monitoring decision log: Readace:active_monitoring:decision_log:readRead decision logs.✓✓✓
Active monitoring decision log: Writeace:active_monitoring:decision_log:writeDismiss and enforce decision logs.✓✓
Active monitoring provider api key: Readace:active_monitoring:provider_api_key:readRead screening-provider API key metadata.✓✓✓
Active monitoring provider api key: Writeace:active_monitoring:provider_api_key:writeSet and remove screening-provider API keys.✓✓

Administration

NamePermissionDescriptionAdminOperatorViewer
Member role: Write (Ace)platform:member_role:write/aceChange members' ACE roles.✓

CRE Connect

Core

NamePermissionDescriptionAdminOperatorViewer
Network: Readcrec:network:readRead available blockchain networks.✓✓✓
Wallet: Readcrec:wallet:readRead wallets.✓✓✓
Wallet: Writecrec:wallet:writeCreate or update wallet.✓✓
Wallet archive: Writecrec:wallet:archive:writeArchive wallet.✓

Operations

NamePermissionDescriptionAdminOperatorViewer
Operation: Readcrec:operation:readRead operations and search by initiator/signer/canceller.✓✓✓
Operation: Writecrec:operation:writeCreate operation (draft or pre-signed).✓✓
Operation signature: Writecrec:operation:signature:writeSign (finalize) or cancel operation.✓✓

Channels

NamePermissionDescriptionAdminOperatorViewer
Channel: Readcrec:channel:readRead channels.✓✓✓
Channel: Writecrec:channel:writeCreate or update channel.✓✓
Channel archive: Writecrec:channel:archive:writeArchive channel.✓

Watchers

NamePermissionDescriptionAdminOperatorViewer
Watcher: Readcrec:watcher:readRead watchers.✓✓✓
Watcher: Writecrec:watcher:writeCreate or update watcher.✓✓
Watcher archive: Writecrec:watcher:archive:writeArchive watcher.✓

Queries

NamePermissionDescriptionAdminOperatorViewer
Query: Readcrec:query:readRead queries.✓✓✓
Query: Writecrec:query:writeCreate query.✓✓

Events

NamePermissionDescriptionAdminOperatorViewer
Event: Readcrec:event:readRead events, run history, and search events.✓✓✓

Administration

NamePermissionDescriptionAdminOperatorViewer
Member role: Write (Crec)platform:member_role:write/crecChange members' CRE Connect roles.✓

Data Streams

API keys cannot be scoped to Data Streams. Data Streams uses its own authentication with credentials managed in the Data Streams portal. See Data Streams API Authentication.

Creating an API key

To create an API key:

  1. Sign in to app.chain.link.
  2. Click your account's icon in the top-right corner, then click Org settings in the dropdown to open the Organization page.
  3. Click to open the API Keys tab and click Create API Key.
  4. Enter a name for the key.
  5. In the API Scope section, select the permissions for the key:
    • Each product (Platform, ACE, CRE, and CRE Connect) has its own expandable section. Expand the products the key needs access to.
    • Each product has a preset: None, Read, Write, or Custom. Read grants the product's read permissions, Write grants every permission available for that product, and Custom is applied automatically when you change an individual permission. The Chainlink Platform section has no write permissions for API keys, so it offers only None, Read, and Custom.
    • Inside a product, each resource (for example, Workflow artifact) has its own None, Read, or Write setting. To turn individual permissions on or off, set the product's preset to Custom; each resource then shows its permissions by action, such as Write (Private registry). The Name column in the tables above matches the resource and action labels in the form.
    • You can only select permissions that your own roles include.
  6. Click Create API Key, then copy the key and click Done.

Managing API keys

The API Keys tab on the Organization page lists your organization's API keys with their name, key ID, author, product access, creation date, and status. Use the Status and Product access filters or the search field to find specific keys.

Click a key's name to open its edit panel. The Scopes tab shows the same permission selection as the creation form: change the presets or individual permissions, then click Save changes. Permissions on the key that your roles don't include are shown locked: you can keep them, but you can't change them. The Actions tab lists the operations you can perform on the key:

  • Rename API Key: changes the key's name. The new name is visible to all organization members.
  • Rotate Key: generates a new value for the same key. Use this when a key's value may have been exposed.
  • Delete API: permanently deletes the API key and its value.

API key security

  • Never share your API keys. Each member should use keys with only the permissions they need.
  • If a key's value may have been exposed, rotate the key from its Actions tab.
  • Review your organization's API keys regularly and delete keys that are no longer needed.

What's next?

Get the latest Chainlink content straight to your inbox.