Add Hosted Key
Configures hosted API key provisioning, rate limiting, and metered billing for tool integrations when users do not supply their own credentials.
Add Hosted Key guides developers through configuring managed API credentials for tool integrations within the Sim ecosystem, enabling seamless execution when end users do not supply their own keys. It provides a standardized, end-to-end workflow covering BYOK provider ID registration, upstream API pricing analysis, response-based usage cost computation, per-workspace token-bucket rate limiting, conditional UI input visibility, and key pooling configurations to ensure fair, multi-tenant credential management and accurate billing.
Key Features
01Configures token-bucket rate limiting across request and custom usage dimensions
02Manages conditional UI subblock visibility to hide key inputs during hosted execution
03Implements accurate response-based cost calculation and metering logic
04Registers BYOK provider types and validation schemas for multi-tenant key management
051 GitHub stars
06Supports multi-key round-robin pooling via structured environment variable conventions
Use Cases
01Configuring workspace-level rate limits to protect shared upstream API quotas
02Excluding specific expensive or deprecated API operations from hosted key pooling
03Adding managed credential support and usage metering to newly created tool integrations