AWS::STS::AssumedRole CRUM on CloudTrail

Does anyone know what this is? I don’t have an IAM user with this name. It appeared as an AWS::STS::AssumedRole entry in CloudTrail. I’ve searched everywhere, but I couldn’t find any reference to it.

What actions is the role performing? Can you see when the role was created, who created it?

I don’t think CRUM is an IAM user. It’s just the user/session value provided by AWS when the service assumes the service linked role

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAM.ServiceLinkedRoles.html

It is the session name and is not part of the role definition. If you look at the AssumeRole API, you can specify any session name you want when you assume a role to create a session. It can be handy for logging.

Who knows what the RDS team means by CRUM? But it is not a resource in your account.

This is what people don’t get about IAM. AssumedRole is not an IAM user. Something assumed a role via STS. Look at the sessionContext and principalId in the CloudTrail event. That’ll tell you what assumed it.

Fastest way to nail this down: pull the raw CloudTrail event JSON (not the console summary) and check userIdentity.sessionContext.sessionIssuer.arn — that’s the actual IAM role that got assumed, independent of whatever session name (“CRUM”) ended up attached. If invokedBy is also populated in the same event, that tells you which AWS service triggered the assumption rather than a human or your own code, which is usually how you end up with an unfamiliar session name on a role you otherwise recognize.

that’s a role session, not an iam user — the name you’re seeing is the RoleSessionName whoever called AssumeRole set (or the role name itself if they didn’t set one). if it looks unfamiliar, expand sessionContext/sessionIssuer in that CloudTrail event; it’ll show the actual role arn and who assumed it, and nine times out of ten it’s SSO, a CI pipeline, or a service-linked role rather than anything scary.