AWS Security ChangesHomeSearch

AWS IAM medium security documentation change

Service: IAM · 2025-11-22 · Security-related medium

File: IAM/latest/UserGuide/root-user-best-practices.md

Summary

Updated root user access key guidance to recommend 'aws login' for temporary credentials instead of long-term keys

Security assessment

Explicitly promotes using temporary credentials over long-term access keys for root users, which directly addresses security best practices by reducing exposure risks from persistent credentials.

Diff

diff --git a/IAM/latest/UserGuide/root-user-best-practices.md b/IAM/latest/UserGuide/root-user-best-practices.md
index b93d6141d..452f3e0d4 100644
--- a//IAM/latest/UserGuide/root-user-best-practices.md
+++ b//IAM/latest/UserGuide/root-user-best-practices.md
@@ -92 +92 @@ We strongly recommend enabling multiple MFA devices for your root user credentia
-Access keys let you run commands in the AWS Command Line Interface (AWS CLI) or use API operations from one of the AWS SDKs. We strongly recommend that you do not create access key pairs for your root user because the root user has full access to all AWS services and resources in the account, including billing information.
+Access keys let you run commands in the AWS Command Line Interface (AWS CLI) or use API operations from one of the AWS SDKs. We strongly recommend that you do not create access keys for your root user because the root user has full access to all AWS services and resources in the account, including billing information.
@@ -94 +94 @@ Access keys let you run commands in the AWS Command Line Interface (AWS CLI) or
-Since only a few tasks require the root user and you typically perform those tasks infrequently, we recommend signing in to the AWS Management Console to perform root user tasks. Before creating access keys, review the [Alternatives to long-term access keys](./security-creds-programmatic-access.html#security-creds-alternatives-to-long-term-access-keys).
+Since only a few tasks require the root user and you typically perform those tasks infrequently, we recommend signing in to the AWS Management Console to perform root user tasks. For programmatic access, instead of creating access keys for the root user, use the `aws login` command with your root credentials to authenticate to the AWS CLI and SDKs. This approach provides temporary, automatically rotated credentials that enhance your security posture while eliminating the need to manage long-term access keys. Before creating access keys, review the [Alternatives to long-term access keys](./security-creds-programmatic-access.html#security-creds-alternatives-to-long-term-access-keys).