3 ms·
Once I have an AWS account ID, my next trick is to grant cross-account bucket policies to discover role names in the account.
by coredog64 3y ago
Once I have an AWS account ID, my next trick is to grant cross-account bucket policies to discover role names in the account.
- baby_souffle 3y agoHow does this work?
- fcoelho 3y agoIf you put a role ARN in the principal section of a bucket policy, AWS will check if the role exists and fail the policy update request if not. Even if it's not in the same account. Don't know if there's another way but you can manually enumerate roles from there