Developer Documentation

KeyGridDocumentation

Complete documentation for production-ready PKI integration with sub-second response times, Universal PKCS#11 HSM support, and comprehensive API coverage.

Quick Start

Production-ready integration with measured sub-second response times and comprehensive protocol support

1

Create Account

Sign up for KeyGrid and get your API credentials

curl -X POST https://api.keygrid.io/v1/auth/register
2

Configure Client

Set up your application with the KeyGrid SDK

npm install @keygrid/sdk
// Initialize client
const client = new KeyGridClient({ apiKey: "your-api-key" });
3

Issue Certificate

Request your first certificate with sub-second response time

const certificate = await client.certificates.create({
  subject: "CN=example.com",
  template: "web-server"
});
4

Deploy & Monitor

Use the certificate and monitor its lifecycle

console.log("Certificate issued in", certificate.issuanceTime, "ms");
// Auto-renewal handled automatically

API Reference

RESTful APIs with OpenAPI 3.0 specification for complete certificate lifecycle management

Core Endpoints

Base URL: https://api.keygrid.io/v1

POST/api/certificates
201 Created

Issue a new certificate with CSR or legacy mode

GET/api/certificates/{tenantId}
200 OK

List certificates for a tenant

POST/api/external-cas/{tenantId}/subordinate-request
201 Created

Create subordinate CA request with HSM-backed CSR

GET/api/invoices/{tenantId}/{invoiceId}/pdf
200 OK (PDF)

Download professional PDF invoice

GET/api/usage/{tenantId}
200 OK

Get real-time usage analytics

POST/.well-known/acme/new-order
201 Created

ACME protocol certificate order (RFC 8555)

Official SDKs

Native language support with type-safe SDKs for faster integration

JavaScript/Node.js

stable
npm install @keygrid/sdk

Python

stable
pip install keygrid-python

Go

stable
go get github.com/keygrid/go-sdk

Java

stable
maven: com.keygrid:keygrid-java

C#/.NET

stable
dotnet add package KeyGrid.SDK

Ruby

beta
gem install keygrid

API Performance

Industry-leading performance metrics for production workloads

Sub-second
Typically <200ms

Response Time

15K+
Operations per second

HSM Operations

150+
Comprehensive tests

Test Suite

10+
Universal PKCS#11

HSM Vendors

Ready to Build?

Get started with KeyGrid APIs today. Our developer support team is here to help you integrate certificate management into your applications.