Custom solution for rotating root account

0

How to design a custom solution to automatically rotate root account passwords for all AWS accounts? Below is a reference provided by AWS that is supposed to record the API calls - https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-aws-console-sign-in-events.html#cloudtrail-root-password-changed

However, it is not getting recorded in the cloudtrail logs.

1回答
2

I don't think it is possible to change the password for the root user automatically, as it is not supported by the AWS CLI or SDK.
Changes can only be made from the management console.
https://docs.aws.amazon.com/accounts/latest/reference/root-user-password.html

This task isn't supported in the AWS CLI or by an API operation from one of the AWS SDKs. You can perform this task only by using the AWS Management Console.

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

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

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

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

関連するコンテンツ