Secret model
Use a durable name such as
CRM_API_KEY or PAYMENTS_WEBHOOK_SECRET. Components resolve the name; operators can rotate the underlying value without editing source.
Create a Secret
- Open Security Admin → Secrets.
- Choose a unique stable name.
- Add a category and description that identify the owning system and purpose.
- Enter the initial value.
- Decide whether it is active immediately and set an activation time when needed.
- Save, then grant only the users or service accounts that need to manage or resolve it.
Resolve from low-code
Rotate safely
Rotation adds a new revision under the existing Secret name:- Create the new credential in the external system.
- Add a new Secret revision.
- Set its activation time or activate it deliberately.
- Run a controlled integration check with the real execution principal.
- Disable the previous revision after dependent workloads have switched.
- Destroy the old revision only after rollback is no longer required.
Revision actions
Reveal only when a human must copy or compare the value. Most integrations should resolve Secrets inside runtime execution and never expose them to a browser.
Access control
Secret permissions are independent from Component and Automation permissions:
Non-administrative access is constrained by ownership and current authorization.
INSTANCE_ADMIN is broader and should be reserved for trusted operators.
Use a dedicated service account for unattended workloads so execution ownership, platform access, and surrounding resource permissions stay independent from a developer account.
High-level backend mechanism
Secret metadata and revision lifecycle are stored as durable tenant records. Values are encrypted at rest and omitted from normal list and detail projections. Runtime resolution selects an active, time-eligible revision by stable Secret name, decrypts it within the trusted execution boundary, and returns it only to the running workload. Realtime and Activity can report metadata or lifecycle changes without publishing the value itself. Logs and runtime error paths apply sensitive-data redaction, but application code must still avoid logging the resolved value.Secrets in integrations and Agents
- Components should resolve a Secret immediately before the outbound operation that needs it.
- Job templates should store business configuration in
options.input, not credentials. - Webhooks should mask sensitive persisted fields; use a Component plus Secret resolution for advanced signing or credential selection.
- Agent tools and MCP connections can reference governed Secret bindings rather than embedding tokens in prompts or tool definitions.
- Storage metadata, database rows, Assistant messages, and Agent memory are not Secret stores.
Failure behavior
Secret resolution fails when the name does not exist, no active eligible revision is available, or the current principal is not authorized. Treat this as a configuration or access error; do not fall back to a credential embedded in source. If an integration begins failing after rotation:- Confirm the new revision is active and its activation time has arrived.
- Confirm the workload’s actual service account can access the Secret.
- Check that the external credential is enabled.
- Inspect sanitized Logs and Trace using the execution identifiers.
- Re-enable the previous revision only if the external system still accepts it and rollback is intended.
Production checklist
- Use stable names and purpose-focused descriptions.
- Keep values out of metadata, source, templates, logs, and prompts.
- Resolve at runtime under a least-privilege service account.
- Rotate by adding a revision, not renaming the Secret.
- Use activation timing for coordinated rollout.
- Disable before destroy when rollback may be needed.
- Reveal only for an explicit operational reason.
- Test the real Endpoint, Job, or Agent execution path after rotation.
- Revoke the external credential as well as destroying its RevoEngine revision.
Related guides
Runtime API
Resolve one or several Secrets from Components.
Identity and access
Grant Secret permissions to the real execution principal.
Automation
Keep credentials out of Job, Event, and Webhook history.
Security and governance
Apply least privilege and safe evidence handling across the platform.

