跳至內容

Are IAM Unique Ids globally unique?

0

As described here, all IAM users have a unique identifier. Is this identifier unique per account, or is it unique globally across all AWS accounts?

2 個答案
0
已接受的答案

Give a peek to this talk I gave at SANS for more detail. https://www.sans.org/webcasts/aws-id-prefixes-aws-doesnt-cover-11

Unique IDs AWS confirms in many support cases that an ID "collision" will not happen.

Let me know if you have any issues with this, or if it helps you then please accept my answer after you've tried it out - it would be much appreciated! Good luck :)

已回答 3 年前

  • Thanks! The talk was very interesting and helpful.

  • rePost-User-7543992@ no problem I gave that talk quite sometime ago. Glad you enjoyed it!

0

Hi,

given IAM users are defined by account-related ArNs (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html), I would say they are unique across account, not globally.

Hope it helps ;)

專家

已回答 3 年前

  • I believe they were referring to the ID and not the arn.

    Technically there could be a clash and not knowing if aws accounts or track theses some where. but based on the complexity of the unique ID then it’s very unlikely.

    The unique ID is like a GUID or a SHA

    The arn is a friendly name.

  • Ok, I thought it referred to the unique IAM User ARN, but good that D G could clarify ;)

  • They ARE unique globally they have to be to make sure that cross account unintended access would not be granted.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。