Aembit Edge API - API Endpoints
Section titled “Aembit Edge API - API Endpoints”Version: v1
Base URL: https://{tenant}.aembit-eng.com
POST /edge/v1/auth
Section titled “POST /edge/v1/auth”Summary: Authenticate to the Edge API
Description: Authenticates Client Workloads to Aembit Edge using a Trust Provider
Operation ID: edge-api-auth
Parameters:
- X-Aembit-ResourceSet (undefined) (optional): any
Request Body:
- Content-Type: application/json
- Schema: any
Responses:
- ‘200’: Successfully retrieved access token
- Content-Type: application/json
- Schema: any
- ‘400’: Invalid request or missing parameters
- Content-Type: application/json
- Schema: any
- ‘401’: Unauthorized
- Content-Type: application/json
- Schema: any
- ‘500’: Internal server error
- Content-Type: application/json
- Schema: any
cURL Example:
curl -X POST \ -H "Content-Type: application/json" \ -d '{"example": "data"}' \ "https://your-tenant.aembit-eng.com/edge/v1/auth"Credentials
Section titled “Credentials”POST /edge/v1/credentials
Section titled “POST /edge/v1/credentials”Summary: Get credentials for a Client Workload
Description: Retrieves credentials for a Client Workload based on your configured Access Policies
Operation ID: edge-api-get-credentials
Parameters:
- X-Aembit-ResourceSet (undefined) (optional): any
Request Body:
- Content-Type: application/json
- Schema: any
Responses:
- ‘200’: Credentials returned for specified Client Workload
- Content-Type: application/json
- Schema: any
- ‘400’: Invalid request or missing parameters
- ‘500’: Internal server error
- Content-Type: application/json
- Schema: any
cURL Example:
curl -X POST \ -H "Content-Type: application/json" \ -d '{"example": "data"}' \ "https://your-tenant.aembit-eng.com/edge/v1/credentials"