How secret references work
Each secret has a name and a value. Agent configuration stores only a reference in this format:x_secrets.CRM_API_KEY. The saved agent version contains the reference, not the credential value. CallKaro resolves supported secret fields from your organization’s registry when they are used.
Secret names are case-sensitive. Use a stable name made from letters, numbers, underscores, or hyphens, without spaces. Examples:
CRM_API_KEY, booking-token, and SALESFORCE_PASSWORD.Add a secret
1
Open Secrets settings
2
Add the name and value
Select Add Secrets, enter a descriptive name, and paste the real credential into Value.
3
Save the registry
Select Save. The value is masked after saving; the secret name remains available for selection in supported Agent Builder fields.
Use a secret in an agent
Where the Agent Builder offers a Secrets source, select it and choose the saved secret name. For fields that accept a reference directly, enter the exactx_secrets.NAME value.
Common uses include:
- Authentication values in pre-call, in-call, and post-call functions.
- API keys and tokens used by custom functions.
- Agent webhook header values.
- Other credential-bearing settings that show a Secrets selector.
Bearer <token>, store the complete value expected by that field in the registry when the field resolves only an exact secret reference.
Use secrets with AI FDE
AI FDE can see available secret names, but it does not receive their values. When it creates or changes a credential-bearing field, it uses an existing matching name when possible. If no matching name exists, AI FDE can save a descriptive reference such asx_secrets.CRM_API_KEY as a pending secret. Saving the agent version is not blocked. After the save, AI FDE reports each pending name and directs you to Secrets settings.
Add every reported name exactly as shown before using the affected integration. If you do not manage the registry, ask your admin to add those names. Once a matching secret is available, the saved reference can resolve without placing the credential value in the agent version.
Update, rotate, rename, or delete
- Update or rotate a value: Select the edit icon beside the secret, enter the replacement value, and save. Agents that use the same name continue to reference it.
- Rename a secret: Update every agent and version that uses the old name. References are matched by exact name and are not renamed automatically.
- Delete a secret: Remove it only after confirming that no active agent, version, function, or webhook still references it.
- Keep a value unchanged: Do not open its value editor. Existing values remain masked and are retained when other registry entries are saved.