What is a deploy identity?
The deploy identity is a service account or credential set that sureops uses when executing approved remediation actions. It is separate from the identity used to read observability data — deploy identity has write access, so it is more sensitive and is configured explicitly per environment. Examples of what the deploy identity does:- Restarts a Kubernetes deployment (
kubectl rollout restart) - Triggers a rollback via your GitOps operator
- Scales a deployment up or down
- Executes a runbook action against your infrastructure
Prerequisites
Before configuring a deploy identity:- You need a service account in your infrastructure with the minimum permissions required for your resolution actions (see Principle of least privilege below)
- Your Admin must have access to Settings → Environments → [environment] → Deploy Identity
Configuring a deploy identity
Deploy identity is configured per environment. Each environment can have its own identity with its own permission scope.1
Create a service account in your infrastructure
Create a dedicated service account for sureops in your infrastructure (Kubernetes service account, cloud IAM role, etc.). Do not reuse a developer account or a human account — service accounts are easier to audit, rotate, and revoke independently.Grant it only the permissions it needs for your resolution actions. See Principle of least privilege.
2
Open Settings → Environments → Deploy Identity
In sureops, navigate to Settings → Environments, select the target environment, and open the Deploy Identity tab.
3
Enter the credentials
The credential format depends on how the environment is connected:
- Kubernetes environments — provide a kubeconfig or service account token scoped to the target cluster and namespace
- Cloud provider environments — provide an IAM role ARN or access key with deploy permissions
- Custom environments — provide whatever credentials your MCP integration requires for write access
4
Test the identity
Click Test connection to verify sureops can authenticate and reach your infrastructure with the deploy identity. sureops performs a read-only preflight check — it does not execute any changes during the test.
5
Save
Click Save. The deploy identity is active for new resolution actions in this environment from this point forward.
Principle of least privilege
The deploy identity should have only the permissions it needs — nothing more. A good starting set for a Kubernetes-managed environment:
Avoid granting cluster-admin or wildcard permissions. If a resolution action requires a permission you haven’t granted, sureops will report the specific error — you can expand permissions incrementally.
Recovery cooldown
The recovery cooldown is a minimum wait time between automated recovery attempts for the same service. It prevents sureops from rapidly retrying a failed remediation in a tight loop, which could worsen an incident (for example, repeated pod restarts that exhaust restart limits).Default behavior
By default, sureops will not attempt a second automated recovery on the same service within 10 minutes of the first attempt. If the first attempt fails or verification fails, the incident is escalated for human review rather than retried immediately.Configuring cooldown
Cooldown is configured per environment in Settings → Environments → [environment] → Recovery Cooldown:Setting the minimum cooldown to zero disables the protection. This is not recommended for production environments — only consider it for development environments where rapid retries are acceptable.
Why cooldown matters
Without a cooldown, an automated resolution loop can cause more harm than good:- A restart attempt that fails may trigger a CrashLoopBackOff — repeated restarts exhaust Kubernetes restart limits and delay the eventual human intervention
- Rapid retries can generate noise in your observability stack, making it harder to distinguish recovery from continued failure
- Some fixes (like a database migration) need time to propagate before a verification check is meaningful
Rotating credentials
Service account credentials should be rotated periodically. To rotate:- Generate new credentials in your infrastructure
- Navigate to Settings → Environments → [environment] → Deploy Identity
- Replace the stored credentials with the new ones
- Click Test connection to verify
- Click Save
Revoking access
To revoke sureops’s deploy access to an environment:- Navigate to Settings → Environments → [environment] → Deploy Identity
- Click Remove deploy identity
- Revoke the service account credentials in your infrastructure
Audit trail
Every action taken by the deploy identity is logged in the incident timeline and the audit log:- What command was executed
- Which deploy identity was used (by name — credentials are never logged)
- When it ran
- Whether it succeeded or failed, with the error message if applicable
Related
- Roles & Capabilities — Admin role required to configure deploy identity
- Notifications — get alerted when a recovery attempt fails or times out