API Keys
Create and manage API keys for Sandbox, MCP, Models, CLI, and SDK.
Create and manage general Krutrim Cloud API keys for Sandbox, MCP, Models, CLI, and SDK. API keys are no longer model-specific, and creating a key does not require selecting a model or model group.
A key authenticates supported requests; it does not bypass account permissions or service access requirements. Follow the authentication instructions for the service or client you use.
Create an API key
Open API keys
Sign in to the Krutrim Cloud Console and go to Administration → API keys.
Use your key
Sandbox, Models, and other supported APIs: Follow the service guide for the endpoint, authentication header, and request format. Model inference is one use of a general API key, not its scope limit.
MCP: Set the raw key privately as
KRUTRIM_API_KEY, without aBearerprefix or surrounding spaces. Restart the client after changing the key. See the MCP Overview for setup and client connections.CLI and SDK: Configure the key using the credential settings documented for your client. Keep it out of shared configuration files and source control.
General API keys do not replace SSH keys used to access virtual machines or the public/private credentials used for bucket access. Follow those separate credential guides when connecting to VMs or storage.
Manage and revoke keys
Return to Administration → API keys to find a key by name using Search API keys. The table shows Name, Secret Key, Created At, and Actions. Use descriptive names to identify which application or environment depends on each key.
Replace a key safely
Create a replacement key and store it securely.
Update every application, MCP client, CLI, or SDK configuration that uses the old key.
Restart or reload the affected clients as needed and verify that they work with the replacement.
Locate the exact old key in the table, open its Actions menu, and choose Delete to revoke it.
Keep keys private
Use separate keys for production, testing, and individual integrations where practical.
Store secrets in a secret manager or private environment configuration; never hard-code them.
Never put API keys in agent prompts, screenshots, logs, shared documents, or source control.
Last updated

