Force IAM user to change password after first authentication.

0

To meet some PCI requirements, we need to force users to change their password after first authentication into the aws console. I have tried to search for information about how to do that in AWS, using IAM features, but was not able to find anything, is it possible?

Thanks

2回答
1
承認された回答

When you create an IAM user there is a checkbox for User must create a new password at next sign-in which does what you want. As an administrator you can enforce that for the next login for existing users as well.

If you're operating in a multi-account environment or are using AWS Organizations then I'd strongly recommend using IAM Identity Center which gives you the ability to use a central identity provider. Then you can control password policies and other authentication requirements (such as MFA) centrally.

profile pictureAWS
エキスパート
回答済み 1年前
profile pictureAWS
エキスパート
レビュー済み 1年前
1

When creating a User through the Console, you can specify that they need to change their password when they first log in:

screenshot of IAM user creation

If you are creating or updating your Users via the API/CLI, you call the CreateLoginProfile or UpdateLoginProfile APIs, which both support configuring the User to need to change their password when they first/next log in.

If you are using the CLI, the update command could look like this, for example:

aws iam update-login-profile --user-name james --password-reset-required
profile pictureAWS
エキスパート
James_S
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ