Skip to content

The Aembit Client ID method serves as a fallback for Client Workload identification when other suitable methods are unavailable. This method entails generating a unique ID by the Aembit Cloud, which is then provisioned to the Client Workload.

This method is suitable for Aembit Edge-based deployments.

  1. Create a new Client Workload.
  2. Choose “Aembit Client ID” for client identification.
  3. Complete the remaining fields.
  4. Copy the newly generated ID.
  5. Save the Client Workload.

Aembit Client ID

During Agent Proxy installation, specify the CLIENT_WORKLOAD_ID environment variable.

Terminal window
CLIENT_WORKLOAD_ID=<ClientWorkloadID> AEMBIT_TENANT_ID=<TenantID> AEMBIT_AGENT_CONTROLLER_ID=<AgentControllerId> ./install

Add the aembit.io/agent-inject annotation to your Client Workload.

See the example below:

apiVersion: apps/v1
kind: Deployment
metadata:
name: example-app
spec:
replicas: 1
selector:
matchLabels:
app: example-app
template:
metadata:
labels:
app: example-app
annotations:
aembit.io/agent-inject: "enabled"
aembit.io/client-id: "7e75e718-7634-480b-9f7b-a07bb5a4f11d"