Authentication & Security
Vertex employs a zero-trust, token-based authentication model. Every inbound HTTP request to https://api.example.com/v2 must provide an authorization header formatted as a Bearer token.
Authorization Header Format
All REST requests must include the Authorization header:
Authorization: Bearer vtx_live_79f82d1c94b30e
Requests submitted without credentials or with expired keys will return an HTTP 401 Unauthorized response with a structured RFC 7807 problem details object.
Key Types & Scopes
Vertex supports two distinct categories of credentials:
| Key Prefix | Scope | Intended Environment | Rate Limit Quota |
|---|---|---|---|
vtx_live_ |
Full Read/Write | Production Backend Services | 5,000 req/min |
vtx_test_ |
Read-Only Sandbox | Staging, CI/CD, Local Test | 1,000 req/min |
vtx_eph_ |
Single-Session Ephemeral | Browser SPAs & Mobile Clients | 120 req/session |
Ephemeral Client Sessions
Never embed secret vtx_live_ keys in client-side applications (React, iOS, Android). Instead, your backend server creates a short-lived ephemeral token via the session API:
const { token, expiresAt } = await client.credentials.createEphemeralToken({
scope: ['read:namespaces'],
ttlSeconds: 900 // 15-minute expiration
});
The browser can now safely communicate with Vertex edge endpoints directly without exposing root account credentials.
Mutual TLS (mTLS) for Enterprise
For regulated financial and healthcare integrations, Vertex supports bidirectional mTLS certificate authentication directly terminating at Cloudflare Anycast edge nodes. Contact our Technical Support team to enroll your enterprise root CA.
Help us improve the Vertex developer experience.