Skip to content
WETNav

accessKeyId / principalIdUsually benign

AGPA: IAM group unique ID

The unique ID of an IAM group.

Find it

SELECT useridentity.accesskeyid, useridentity.arn, count(*) AS calls, min(eventtime) AS first_seen
FROM cloudtrail_logs
WHERE useridentity.accesskeyid LIKE 'AGPA%'
GROUP BY 1, 2
ORDER BY calls DESC

About accessKeyId

The first four characters of an AWS key or unique ID tell you what kind of credential it is. CloudTrail records the access key ID on every API call.

Every AWS access key and unique ID prefixes value →

Questions

What does accessKeyId AGPA mean?
IAM group unique ID. The unique ID of an IAM group.
Is accessKeyId AGPA a sign of an attack?
Usually not. It is normal activity on its own. Check it against the account, host and time before you move on.
Where is accessKeyId AGPA recorded?
In the accessKeyId field of AWS CloudTrail.
How do I search for accessKeyId AGPA?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.