AWS Security ChangesHomeSearch

AWS IAM medium security documentation change

Service: IAM · 2026-03-19 · Security-related medium

File: IAM/latest/UserGuide/id_credentials_service-specific-creds.md

Summary

Added new section 'When to use service-specific credentials' that recommends using AWS temporary credentials over service-specific credentials for new development.

Security assessment

This change adds security best practices documentation that explicitly recommends using temporary credentials (which are more secure) over service-specific credentials. This addresses the security risk of using long-lived credentials by providing guidance to use IAM roles and temporary credentials instead. The change promotes better security practices by discouraging the use of less secure credential types.

Diff

diff --git a/IAM/latest/UserGuide/id_credentials_service-specific-creds.md b/IAM/latest/UserGuide/id_credentials_service-specific-creds.md
index a5e2f137d..7069120ba 100644
--- a//IAM/latest/UserGuide/id_credentials_service-specific-creds.md
+++ b//IAM/latest/UserGuide/id_credentials_service-specific-creds.md
@@ -5 +5 @@
-Rotating service-specific credentialsMonitoring service-specific credentials
+When to use service-specific credentialsRotating service-specific credentialsMonitoring service-specific credentials
@@ -12,0 +13,6 @@ Service-specific credentials typically consist of a user name and password pair
+## When to use service-specific credentials
+
+Service-specific credentials are intended for compatibility with third-party libraries, SDKs, tools, or applications that are not natively compatible with AWS credentials, AWS SDKs, or AWS APIs. Such use cases include migrating to AWS services from self-hosted infrastructure or from services hosted by other providers.
+
+When starting from scratch, and wherever possible, we recommend that you use AWS temporary credentials, such as those provided by an IAM role, to authenticate with an AWS service using an AWS SDK or a library that supports AWS temporary credentials.
+