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.

AWS
gefragt vor einem Jahr366 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen