AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-04-11 · Documentation low

File: code-library/latest/ug/kms_example_kms_Scenario_Basics_section.md

Summary

Removed explicit credentials provider configuration from KMS example code

Security assessment

Change removes EnvironmentVariableCredentialsProvider reference but doesn't address vulnerabilities or security features. Appears to be code simplification rather than security-related.

Diff

diff --git a/code-library/latest/ug/kms_example_kms_Scenario_Basics_section.md b/code-library/latest/ug/kms_example_kms_Scenario_Basics_section.md
index 7d2bfdfe9..b91aa3685 100644
--- a//code-library/latest/ug/kms_example_kms_Scenario_Basics_section.md
+++ b//code-library/latest/ug/kms_example_kms_Scenario_Basics_section.md
@@ -700 +699,0 @@ Define a class that wraps KMS actions.
-                    .credentialsProvider(EnvironmentVariableCredentialsProvider.create())