Deploy Keys
A deploy key is a special token for deploying and removing subgraphs via API. Learn how to get a deploy key, where to use it, and how it differs from other keys.
What is a Deploy Key?
A deploy key is a special token that is automatically created when you create a new subgraph. It is used by the system to authorize deploy and removal operations for your subgraph.
You do not need to create a deploy key manually — it is generated for you and linked to your account and the specific network (endpoint).
The deploy key is not used for regular blockchain queries. It is only used for deploying and removing subgraphs, both via the UI and API.
Where is the Deploy Key Used?
In the subgraph deployment command:
graph deploy --node https://<GRAPH_NODE_URL> --ipfs https://<IPFS_URL> --version-label 0.0.1 <SUBGRAPH_NAME> --access-token=DEPLOY_KEYWhen removing a subgraph via API (the system uses it automatically)
How to Get a Deploy Key?
Go to the Subgraphs section in the main navigation
Click on the API keys tab
Select the Deploy Keys sub-tab — here you will see all your deploy tokens for each network
Copy the required key for the selected network
UI Example:

How to Use a Deploy Key?
For deploying a subgraph:
Get the deploy key for the required network
Run the command:
graph deploy --node https://<GRAPH_NODE_URL> --ipfs https://<IPFS_URL> --version-label 0.0.1 <SUBGRAPH_NAME> --access-token=DEPLOY_KEYWhere
DEPLOY_KEYis your deploy token
For removing a subgraph:
The deploy key is used by the system automatically when deleting via UI or API
You do not need to manually provide the token — everything is handled transparently
Difference from Other Keys
Query key — used for regular blockchain queries (RPC, GraphQL)
API key — for administrative actions (creating query keys, viewing statistics)
Deploy key — only for deploying and removing subgraphs
Security
Do not share your deploy key with third parties
The deploy key is visible only to the account owner
If needed, you can regenerate a new deploy key for the selected network
Last updated