# Rant about AWS credentials

**URL:** <https://awshq.com/t/rant-about-aws-credentials/15630>\
**Category:** Security & IAM\
**Tags:** iam\
**Created:** [October 4, 2022, 11:59am UTC](https://awshq.com/t/rant-about-aws-credentials/15630 "2022-10-04T11:59:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 11:59am UTC](https://awshq.com/t/rant-about-aws-credentials/15630/1 "2022-10-04T11:59:38Z")

</div>

Does anyone else find it frankly absurd and annoying that in 2022, you can still only add one MFA token to an IAM user account?

This makes hardware tokens effectively worthless since it’s not possible to add a second/backup token – especially egregious for the root account.

Anyone catch wind of AWS planning to right this anytime soon?

//edit: thanks all for the pointers to AWS SSO. The last time I looked it was pretty lacking, looks like they’ve put some effort in.

---

<div class="post-metadata">

**Author:** ![Ghost\_Pains](https://awshq.com/letter_avatar_proxy/v4/letter/g/f475e1/32.png) [@Ghost\_Pains](https://awshq.com/u/Ghost_Pains)\
**Post date:** [October 4, 2022, 12:41pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/2 "2022-10-04T12:41:48Z")

</div>

Not really considering IAM Best Practices advise against using IAM Users and you hardly ought to use the root account.

[https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)

---

<div class="post-metadata">

**Author:** ![ChrisCloud148](https://awshq.com/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@ChrisCloud148](https://awshq.com/u/ChrisCloud148)\
**Post date:** [October 4, 2022, 12:54pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/3 "2022-10-04T12:54:33Z")

</div>

For IAM Users this shouldn’t be a problem.  
Why would you need to use multiple MFA for one IAM User?

For the root user I do see the use case.  
At least for HW MFA, which should be used.  
For the Master/Root Account this would be useful.

Most of our clients do use SW MFA on their root user as well and use multiple MFA devices with one SW QR code or do even print out the code and store it somewhere safe.

---

<div class="post-metadata">

**Author:** ![b3542](https://awshq.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@b3542](https://awshq.com/u/b3542)\
**Post date:** [October 4, 2022, 12:54pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/4 "2022-10-04T12:54:45Z")

</div>

You shouldn’t have more than one MFA token… that degrades the effectiveness of MFA. You also shouldn’t be using the root account casually. It’s entirely possible to backup a single MFA token - there’s no technical reason you’d need more than one.

---

<div class="post-metadata">

**Author:** ![dghah](https://awshq.com/letter_avatar_proxy/v4/letter/d/f6c823/32.png) [@dghah](https://awshq.com/u/dghah)\
**Post date:** [October 4, 2022, 12:56pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/5 "2022-10-04T12:56:02Z")

</div>

Our workaround is AWS SSO is integrated with an upstream iDP that supports multiple MFA options.

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 1:26pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/6 "2022-10-04T13:26:59Z")

</div>

> [@b3542](#):
>
> You shouldn’t have more than one MFA token… that degrades the effectiveness of MFA. You also shouldn’t be using the root account casually. It’s entirely possible to backup a single MFA token - there’s no technical …

You have no clue what you are talking about, at _all_.

Hardware tokens cannot be backed up. _That’s the entire point of a hardware token — the private key is locked to the hardware._

What makes MFA less effective is using a less effective MFA. Your posture is only as strong as your weakest MFA. If you have multiple hardware tokens, _which is the recommendation_, you still have the full protection of hardware-based MFA.

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 1:31pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/7 "2022-10-04T13:31:00Z")

</div>

> [@Ghost\_Pains](#):
>
> Not really considering IAM Best Practices advise against using IAM Users and you hardly ought to use the root account. [https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)

Yeah, I’ve read the doc, but there are times (read: one man shop) where that kind of hoop jumping just doesn’t make sense. Google and Microsoft recognize this, was hoping AWS would too.

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 1:31pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/8 "2022-10-04T13:31:49Z")

</div>

> [@dghah](#):
>
> Our workaround is AWS SSO is integrated with an upstream iDP that supports multiple MFA options.

Yeah, I’m a one-man shop at the moment. Was trying to avoid the extra layer of complexity.

---

<div class="post-metadata">

**Author:** ![ceejayoz](https://awshq.com/letter_avatar_proxy/v4/letter/c/e274bd/32.png) [@ceejayoz](https://awshq.com/u/ceejayoz)\
**Post date:** [October 4, 2022, 1:33pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/9 "2022-10-04T13:33:51Z")

</div>

> [@b3542](#):
>
> You shouldn’t have more than one MFA token… that degrades the effectiveness of MFA. You also shouldn’t be using the root account casually. It’s entirely possible to backup a single MFA token - there’s no technical …

> It’s entirely possible to backup a single MFA token

Not if you’re using hardware keys. Which is most secure.

[https://www.yubico.com/spare/](https://www.yubico.com/spare/)

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 1:35pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/10 "2022-10-04T13:35:40Z")

</div>

> [@ChrisCloud148](#):
>
> For IAM Users this shouldn’t be a problem. Why would you need to use multiple MFA for one IAM User? For the root user I do see the use case. At least for HW MFA, which should be used. For the Master/Root Account this …

The recommendation for hardware tokens is to have multiple to avoid loss of access in case one is lost or damaged. To your point, centralized control solves this for end users but not the root user, which is frankly even more important.

It’s a glaring hole that has been there since AWS first announced hardware token MFA five years ago that Azure and GCP are much more up to date on.

---

<div class="post-metadata">

**Author:** ![b3542](https://awshq.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@b3542](https://awshq.com/u/b3542)\
**Post date:** [October 4, 2022, 1:39pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/11 "2022-10-04T13:39:08Z")

</div>

> [@e3b0c442](#):
>
> You have no clue what you are talking about, at _all_. Hardware tokens cannot be backed up. _That’s the entire point of a hardware token — the private key is locked to the hardware._ What makes MFA less effective is …

More hardware tokens = increased risk through custody tracking. I’m perfect aware of how hardware tokens work.

---

<div class="post-metadata">

**Author:** ![b3542](https://awshq.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@b3542](https://awshq.com/u/b3542)\
**Post date:** [October 4, 2022, 2:05pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/12 "2022-10-04T14:05:48Z")

</div>

> [@ceejayoz](#):
>
> Not if you’re using hardware keys. Which is most secure. [https://www.yubico.com/spare/](https://www.yubico.com/spare/)

I don’t disagree. Which means those hardware tokens should be in a safe. Software tokens can be backed up, though there are similar custody concerns. Accounts like root accounts should not be used in “other than emergency” cases. Having more than one person with the ability to manage users negates the necessary for re-enrolling tokens using the root account. This is not a technical problem. It’s a process problem.

---

<div class="post-metadata">

**Author:** ![ceejayoz](https://awshq.com/letter_avatar_proxy/v4/letter/c/e274bd/32.png) [@ceejayoz](https://awshq.com/u/ceejayoz)\
**Post date:** [October 4, 2022, 2:21pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/13 "2022-10-04T14:21:12Z")

</div>

> [@b3542](#):
>
> I don’t disagree. Which means those hardware tokens should be in a safe. Software tokens can be backed up, though there are similar custody concerns. Accounts like root accounts should not be used in “other than …

> Which means those hardware tokens should be in a safe.

Sure, and you have a second one somewhere else, so a house fire or bank robbery or whatnot doesn’t leave you unable to access your root account.

Pretty much every other hardware token supporting service I’ve used - Google, Cloudflare, hell even Facebook - permits multiple tokens, and recommend having a spare as a best practice.

---

<div class="post-metadata">

**Author:** ![intrepidated](https://awshq.com/letter_avatar_proxy/v4/letter/i/439d5e/32.png) [@intrepidated](https://awshq.com/u/intrepidated)\
**Post date:** [October 4, 2022, 2:34pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/14 "2022-10-04T14:34:13Z")

</div>

> [@e3b0c442](#):
>
> You have no clue what you are talking about, at _all_. Hardware tokens cannot be backed up. _That’s the entire point of a hardware token — the private key is locked to the hardware._ What makes MFA less effective is …

AWS has an MFA reset process. As long as your contact and account info is in order (it reflects other identification you have that shows you’re the owner), they’ll remove MFA for you in these cases.

---

<div class="post-metadata">

**Author:** ![pint](https://awshq.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pint](https://awshq.com/u/pint)\
**Post date:** [October 4, 2022, 2:35pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/15 "2022-10-04T14:35:33Z")

</div>

> [@e3b0c442](#):
>
> Yeah, I’ve read the doc, but there are times (read: one man shop) where that kind of hoop jumping just doesn’t make sense. Google and Microsoft recognize this, was hoping AWS would too.

even for a one man shop, you supposed to have an iam user. so you have a backup, namely the root. i trust you don’t use root for daily operations.

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 2:37pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/16 "2022-10-04T14:37:47Z")

</div>

> [@pint](#):
>
> even for a one man shop, you supposed to have an iam user. so you have a backup, namely the root. i trust you don’t use root for daily operations.

Yes, I use an IAM user, hence the question.

Hoop jumping more in regards to setting up IdP/federation.

---

<div class="post-metadata">

**Author:** ![e3b0c442](https://awshq.com/letter_avatar_proxy/v4/letter/e/67e7ee/32.png) [@e3b0c442](https://awshq.com/u/e3b0c442)\
**Post date:** [October 4, 2022, 3:00pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/17 "2022-10-04T15:00:21Z")

</div>

> [@b3542](#):
>
> More hardware tokens = increased risk through custody tracking. I’m perfect aware of how hardware tokens work.

> I’m perfect aware of how hardware tokens work.

> It’s entirely possible to backup a single MFA token

_ahem._

In any case, for FIDO as 2FA, the custody tracking argument honestly doesn’t hold water, given that the credential does not identify the device. Now if we’re talking smart cards, then yeah, that makes a ton of sense. Not FIDO tokens.

As noted in other comments, this is a one-man shop right now, which further diminishes the custody concern.

It is absolutely standard when providing hardware token auth to allow adding multiple hardware tokens. AWS is to my knowledge the only major service currently not offering the ability to add multiple hardware tokens to an account. I’m not wrong to call this out.

---

<div class="post-metadata">

**Author:** ![skilledpigeon](https://awshq.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@skilledpigeon](https://awshq.com/u/skilledpigeon)\
**Post date:** [October 4, 2022, 3:22pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/18 "2022-10-04T15:22:24Z")

</div>

> [@e3b0c442](#):
>
> The recommendation for hardware tokens is to have multiple to avoid loss of access in case one is lost or damaged. To your point, centralized control solves this for end users but not the root user, which is frankly …

Then move to Azure or GCP if it’s an absolute requirement. Whilst I don’t disagree with what you’re saying, unless it’s absolutely critical to your compliance then there’s probably bigger things to worry about.

---

<div class="post-metadata">

**Author:** ![fhammerl](https://awshq.com/letter_avatar_proxy/v4/letter/f/3be4f8/32.png) [@fhammerl](https://awshq.com/u/fhammerl)\
**Post date:** [October 4, 2022, 3:36pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/19 "2022-10-04T15:36:56Z")

</div>

> [@e3b0c442](#):
>
> Yes, I use an IAM user, hence the question. Hoop jumping more in regards to setting up IdP/federation.

Set up an IAM user with the root account, then lock away the root MFA key into a safe. And for an IAM user you can have a backup user with a second key. There is nothing special about the user. Don’t really see the problem unless you think about cloud infra as long lived instead of cattle.

And: Set up federation and AWS SSO. Don’t mess around with long lived IAM user access keys.

---

<div class="post-metadata">

**Author:** ![anderiv](https://awshq.com/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@anderiv](https://awshq.com/u/anderiv)\
**Post date:** [October 4, 2022, 3:38pm UTC](https://awshq.com/t/rant-about-aws-credentials/15630/20 "2022-10-04T15:38:15Z")

</div>

> [@e3b0c442](#):
>
> Yeah, I’m a one-man shop at the moment. Was trying to avoid the extra layer of complexity.

You can use SSO without needing to integrate with an external IdP. SSO supports its own user database, and those users can add multiple MFA devices.

This setup should literally take no longer than 15 minutes to set up - I just recently did it on my own personal account(s).

[Next page](https://awshq.com/t/rant-about-aws-credentials/15630.md?page=2)
