跳至內容

IAM Identity Center or IAM users can be locked after a certain number of failed login attempts?

0

Hi all

IAM Identity Center or IAM users can be locked after a certain number of failed login attempts?

  1. I saw a post saying that the Identity Center does not support this - https://repost.aws/questions/QUZ61VeAUoTYCstHH97TvwQA/how-can-i-implementing-rate-limiting-on-the-iam-identity-center-portal-to-restrict-the-number-of-failed-login-attempts-within-a-certain-time-period, but this is a post 6 months ago. What about now?
  2. What about the IAM users?

Thanks.

已提問 1 年前檢視次數 1157 次

2 個答案
0
已接受的答案

Hello.

As of April 2025, I don't think there is a function to lock the user of either IAM Identity Center users or IAM users based on the number of failed login attempts.
Therefore, I think you will need to create your own configuration to create functionality similar to account locking, as I have done in my previous answer at the URL you refer to.

專家

已回答 1 年前

0

As of now, neither IAM Identity Center nor IAM users have built-in functionality to lock accounts after a certain number of failed login attempts.

  1. For IAM Identity Center: There is still no native feature to implement account lockouts after a specific number of failed login attempts. This limitation remains unchanged from the post you referenced. However, you can implement some mitigation strategies to enhance security:
  • Enable multi-factor authentication (MFA) for users accessing the IAM Identity Center portal.
  • Monitor sign-in logs and set up alerts for suspicious activity.
  • Use services like Amazon GuardDuty or AWS Security Hub to detect abnormal login patterns.
  • If you're using an external identity provider, you may be able to implement lockout policies there.
  1. For IAM users: AWS does not provide a built-in "lockout policy" for IAM users that would automatically lock an account after a specified number of failed sign-in attempts. Instead, AWS recommends implementing a strong password policy and enabling multi-factor authentication (MFA) for enhanced security.

You can set a custom password policy for IAM users that includes:

  • Minimum password length
  • Password complexity requirements
  • Password expiration periods

While these measures don't directly implement account lockouts, they significantly improve account security and make it more difficult for unauthorized access attempts to succeed.

For both IAM Identity Center and IAM users, it's crucial to monitor account activity, implement strong authentication practices, and use additional AWS security services to detect and respond to potential security threats.

Sources
How does the IAM Identity Center portal prevent brute-force attacks from causing AD account lockouts? | AWS re:Post
Set an account password policy for IAM users - AWS Identity and Access Management
Authentication in IAM Identity Center - AWS IAM Identity Center

已回答 1 年前

專家

已審閱 1 年前

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

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