Skip to content

Edge API

The Edge API enables workloads to retrieve credentials without an Agent Proxy. Used primarily by CI/CD pipelines and serverless functions.

https://<tenant-id>.ec.<region>.dipolehq.com

Authenticate a workload using attestation evidence. No Authorization header — identity is proved via the request body.

{
"clientId": "dipole:ap-south-1:acme:identity:github_idtoken:uuid",
"client": {
"github": {
"identityToken": "eyJhbG..."
}
}
}

Response:

{
"accessToken": "eyJhbG...",
"tokenType": "Bearer",
"expiresIn": 3600
}

Retrieve a credential for a specific Server Workload. Requires a Bearer token from /edge/v1/auth.

{
"server": {
"host": "api.stripe.com",
"port": 443
}
}

Response:

{
"credentialType": "ApiKey",
"expiresAt": "2026-01-15T10:30:00Z",
"data": {
"apiKey": "sk_live_abc123..."
}
}