Skip to main content
Glama

create_virtual_key

Securely store provider API keys by creating virtual keys for services like OpenAI, Anthropic, Azure OpenAI, and Google. Manage access with name, workspace, credit limits, and rate controls.

Instructions

Create a new virtual key for a provider (e.g., openai, anthropic). Virtual keys securely store provider API keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name for the virtual key
providerYesProvider slug (e.g., 'openai', 'anthropic', 'azure-openai', 'google')
keyYesThe actual provider API key to store
noteNoOptional note or description for this key
workspace_idNoWorkspace ID to create the key in
api_versionNoAPI version (for Azure OpenAI)
resource_nameNoResource name (for Azure OpenAI)
deployment_nameNoDeployment name (for Azure OpenAI)
credit_limitNoCredit limit for usage
alert_thresholdNoAlert threshold percentage (0-100)
rate_limit_rpmNoRate limit in requests per minute
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server