AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for updating SAML provider metadata

Security assessment

Maintains federation trust security but no specific vulnerability mentioned

Diff

diff --git a/code-library/latest/ug/iam_example_iam_UpdateSamlProvider_section.md b/code-library/latest/ug/iam_example_iam_UpdateSamlProvider_section.md
index fce785ab6..81537ab1a 100644
--- a//code-library/latest/ug/iam_example_iam_UpdateSamlProvider_section.md
+++ b//code-library/latest/ug/iam_example_iam_UpdateSamlProvider_section.md
@@ -57,0 +58,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example updates the SAML provider in IAM whose ARN is`arn:aws:iam::123456789012:saml-provider/SAMLADFS` with a new SAML metadata document from the file `SAMLMetaData.xml`. Note that you must use the `-Raw` switch parameter to successfully process the contents of the JSON file.**
+    
+    
+    Update-IAMSAMLProvider -SAMLProviderArn arn:aws:iam::123456789012:saml-provider/SAMLADFS -SAMLMetadataDocument (Get-Content -Raw SAMLMetaData.xml)
+    
+
+  * For API details, see [UpdateSamlProvider](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+