What is an Agent Secret?
An Agent Secret is a credential used to authenticate your agent instance with the Value Control Plane. It identifies which agent instance is sending events.Getting Your Agent Secret
- Log in to the Value Control Plane
- Navigate to Agents → Select an agent type → Instances
- Create or select an instance
- Copy the Secret (shown only once on creation)
Using Agent Secrets
Pass the agent secret directly when initializing the client:Secret Rotation
To rotate an agent secret:- Navigate to the agent instance in the Control Plane
- Click Refresh Secret
- Copy the new secret
- Update your environment with the new secret
The old secret is immediately invalidated. Plan your deployment to minimize downtime.
What the Secret Provides
When you initialize the SDK with a secret, it automatically:- Authenticates with the Control Plane
- Retrieves agent metadata (ID, name, workspace, organization)
- Configures OpenTelemetry with correct resource attributes