Create, manage, and secure your API keys with enterprise-grade security. Perfect for teams of all sizes.
Built with security and ease of use in mind
We don't store your API keys. One-click revoke at any time
Custom permissions for each API key & metadata
Monetize your API keys with a simple credits system
Track and monitor API key usage with detailed analytics.
Add API key management to your app in minutes
import { createApiKeySdk } from 'keystash-sdk';
const sdk = createApiKeySdk({ });
// Connect with your Validate API key
await sdk.account.connect('13a314e8-9df2-4e98-922c-95abf8519a58')
// Create a new API key
const key = await sdk.spaces.keys.create(spaceId, {
name: 'Production Key',
permissions: [
{ type: 'posts:read' },
{ type: 'user:read', meta: { userId: 6541 } }
],
// Optional metadata
meta: { userId: 6541 }
});
// Validate an API key
const isValid = await sdk.spaces.keys.validate(spaceId, 'b7690623-895c-4244-a316-c4c7a129f05c');
Start free, upgrade as you grow