IAM roles reference
The StratoNext onboarding template creates three IAM roles in your account. All of them are trusted only by StratoNext’s dedicated credential-broker role: a single, least-privilege StratoNext role whose only ability is to assume the roles you create, and the only StratoNext identity your trust policies name. Agents never assume roles in your account directly.
The credential broker model
Section titled “The credential broker model”Agents never hold long-lived cloud credentials. When an agent needs to perform an AWS operation:
- The agent pauses its task and emits a credential request.
- The request enters the approval flow governed by your automation policy.
- On approval, the StratoNext credential broker assumes the appropriate role in your account and mints a short-lived credential scoped to that specific task.
- The credential is held in memory only for the duration of the operation and never persisted.
Every template carries a unique external ID, generated by StratoNext for your environment and already filled in when you download it. It is a required condition in every role’s trust policy, which protects against confused-deputy attacks. Trust is also restricted to StratoNext’s own AWS Organization for defense in depth.
Auditing agent access
Section titled “Auditing agent access”Every credential StratoNext mints is stamped with an STS source identity and session tags:
the agent, your organization, the environment, and, for approved escalations, the task and the
approval. These appear on the AssumeRole events in your own CloudTrail, so you can always trace
which agent obtained which access, for what, and under which approval, with no extra setup on your
side.
The role trust policies allow sts:TagSession and sts:SetSourceIdentity for this, and require
every session to carry a StratoNext source identity scoped to your organization. Nothing StratoNext
does in your account is ever unattributed, and the roles cannot be assumed under another tenant’s
identity.
StratoNextConnectionRole
Section titled “StratoNextConnectionRole”Always created. Used by the platform to validate the connection and keep your environment in sync: it can describe CloudFormation stacks and read templates so StratoNext can discover and map your deployed resources.
StratoNextOperationsRole
Section titled “StratoNextOperationsRole”Always created. The baseline access agents work with. The credential broker assumes this role and hands short-lived credentials to the agent. The agent never assumes it directly. The default policy is read-only and covers:
- Compute and containers: EC2, Lambda, ECS, EKS, and ECR.
- Storage and data: S3, DynamoDB, and RDS.
- Messaging and workflows: SNS, SQS, and Step Functions.
- Observability: CloudWatch metrics and alarms, and CloudWatch Logs, including Logs Insights queries.
- Cost: Cost Explorer, when the Cost Explorer service is selected in the wizard. It is selected by default.
The role also includes the CloudWatch reads that Signals need to show alarm states and metrics.
Customize this role’s policy in your account to widen or narrow what agents can do by default.
StratoNextOperationsMaxRole
Section titled “StratoNextOperationsMaxRole”Always created. The escalation ceiling. When an elevated action is approved, the credential broker assumes this role and scopes the session down to the approved action and resource set via an STS session policy. An approval can never grant more than this role allows.
Tune its policy to your risk tolerance, and keep it a sensible ceiling, never AdministratorAccess.
The gap between the Operations Role and the Operations Max Role is your guardrail: the baseline runs autonomously, the ceiling caps what any approval can grant, and the space between is what an agent requests approval for.
Revoking access
Section titled “Revoking access”Delete the CloudFormation stack to remove all roles and revoke StratoNext’s access to your account immediately. Because all access is short-lived STS sessions, there are no keys to rotate.