Carapace · Authentication Profile

Carapace Authentication

Authentication

Carapace declares 4 security scheme(s) across its OpenAPI definitions.

CompanyAI AgentsSecrets ManagementConfidential ComputingSecurityOpen SourceGoogle CloudSelf-Hosted
Methods: Schemes: 4 OAuth flows: API key in:

Security Schemes

agentApiKey http
scheme: bearer
userJwt http
scheme: bearer
enclaveOidc openIdConnect
ownerKeySignature signature

Source

Authentication Profile

carapace-bot-authentication.yml Raw ↑
generated: '2026-11-03'
method: searched
source: https://github.com/99darwin/carapace-oss/blob/main/server/README.md
docs: https://github.com/99darwin/carapace-oss/blob/main/docs/ARCHITECTURE.md
note: No OpenAPI is published (the server exposes /openapi.json only in dev mode), so this profile is read from the project docs and source docstrings, not derived from a contract. Every deployment is self-hosted in the user's own GCP project.
schemes:
- name: agentApiKey
  type: http
  scheme: bearer
  surface: enclave (https://<enclave ip>:8443)
  description: Agents call POST /v1/request on the enclave with the header Authorization Bearer cpk_... over attested TLS. The owner's CLI mints the key as cpk_<fingerprint>_<random> and signs a grant for it; the server stores only a lookup hash and the grant. Grants default to a 30-day TTL (--ttl-days).
  source: https://github.com/99darwin/carapace-oss/blob/main/enclave/src/carapace_enclave/server.py
- name: userJwt
  type: http
  scheme: bearer
  bearerFormat: JWT
  surface: control-plane server (/v1/*)
  description: Account login by password or passkey (WebAuthn, user verification required) returns access JWTs carrying jti, iss and aud; refresh tokens are single use and rotated, and reuse of a rotated token revokes the whole family. Logout blacklists the jti.
  source: https://github.com/99darwin/carapace-oss/blob/main/server/README.md
- name: enclaveOidc
  type: openIdConnect
  surface: control-plane server (/internal/*)
  description: Enclaves authenticate to the server with a Confidential Space OIDC token whose audience is CARAPACE_PUBLIC_URL; Google's signing keys are found by OIDC discovery. Receipt uploads are additionally signed with X-Carapace-Timestamp (unix seconds, +/-60 s) and X-Carapace-Signature (base64 Ed25519 over the message with the per-boot receipt key).
  source: https://github.com/99darwin/carapace-oss/blob/main/server/README.md
- name: ownerKeySignature
  type: signature
  description: Every object the enclave trusts (secret envelopes, policies, API-key grants) is signed with the owner's Ed25519 owner key, whose seed never leaves the owner's device.
  source: https://github.com/99darwin/carapace-oss/blob/main/docs/design/owner-signing.md

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/carapace-bot-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.