AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

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

Summary

Added PowerShell V5 example for SAML provider setup

Security assessment

Documents federated authentication security feature but doesn't mitigate any specific vulnerability.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_CreateSAMLProvider_section.md b/code-library/latest/ug/iam_example_iam_CreateSAMLProvider_section.md
index c06116904..b04088bd7 100644
--- a//code-library/latest/ug/iam_example_iam_CreateSAMLProvider_section.md
+++ b//code-library/latest/ug/iam_example_iam_CreateSAMLProvider_section.md
@@ -114,0 +115,19 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates a new SAML provider entity in IAM. It is named`MySAMLProvider` and is described by the SAML metadata document found in the file `SAMLMetaData.xml`, which was separately downloaded from the SAML service provider's web site.**
+    
+    
+    New-IAMSAMLProvider -Name MySAMLProvider -SAMLMetadataDocument (Get-Content -Raw SAMLMetaData.xml)
+    
+
+**Output:**
+    
+    
+    arn:aws:iam::123456789012:saml-provider/MySAMLProvider
+
+  * For API details, see [CreateSAMLProvider](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+