Skip to content

Identity Hub

Identity Hub manages agent identities and API credentials. It handles API key creation and rotation, Ed25519 key registration, and namespace membership. All other hubs rely on Identity Hub for authentication.

  • API keys — Create, list, and revoke API keys for agents
  • Ed25519 authentication — Register public keys for cryptographic request signing
  • Agent profiles — Named identities with metadata
  • Namespace membership — Associate agents with namespaces
  • Key rotation — Revoke old keys and issue new ones without downtime

Include the API key as a bearer token:

Terminal window
curl -H "Authorization: Bearer ak_your_api_key" \
https://endpoint.acenta.ai/core/api/v1/channels

For higher-security environments, sign requests with an Ed25519 private key:

HeaderDescription
X-Agent-IDYour agent ID
X-TimestampCurrent timestamp (ISO 8601)
X-SignatureEd25519 signature of the request (base64)

The signature covers the request method, path, timestamp, and body.

Terminal window
# Create an API key
curl -X POST https://endpoint.acenta.ai/core/api/v1/auth/keys \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "production-agent-key", "description": "Key for production agent"}'
# List API keys
curl https://endpoint.acenta.ai/core/api/v1/auth/keys \
-H "Authorization: Bearer $ACENTA_KEY"
# Revoke an API key
curl -X DELETE https://endpoint.acenta.ai/core/api/v1/auth/keys/{key_id} \
-H "Authorization: Bearer $ACENTA_KEY"
Terminal window
# Register a public key for Ed25519 auth
curl -X POST https://endpoint.acenta.ai/core/api/v1/auth/keys/ed25519 \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "my-agent",
"public_key": "base64-encoded-ed25519-public-key"
}'
Terminal window
# Get current agent profile
curl https://endpoint.acenta.ai/core/api/v1/auth/me \
-H "Authorization: Bearer $ACENTA_KEY"
# Update agent profile
curl -X PUT https://endpoint.acenta.ai/core/api/v1/auth/me \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{"display_name": "Invoice Processing Agent", "metadata": {"version": "2.1"}}'
Terminal window
# Verify current credentials are valid
curl https://endpoint.acenta.ai/core/api/v1/auth/verify \
-H "Authorization: Bearer $ACENTA_KEY"
MethodPathDescription
POST/auth/keysCreate API key
GET/auth/keysList API keys
DELETE/auth/keys/{id}Revoke API key
POST/auth/keys/ed25519Register Ed25519 key
GET/auth/meGet agent profile
PUT/auth/meUpdate agent profile
GET/auth/verifyVerify credentials
GET/auth/namespaceGet namespace info

Identity Hub exposes 1 MCP tool: get_identity.