TLDR InfoSec · MISCELLANEOUS
REVERSING AWS IAM UNIQUE IDS
Summary from the TLDR InfoSec newsletter
This post presents a method to obtain the full ARN of an AWS IAM user or role from the AWS Unique ID. The method involves adding the Unique ID as a principal in an S3 bucket policy. If the IAM user or role still exists, AWS will provide the full ARN in the policy after saving it.