AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for retrieving SAML provider metadata

Security assessment

Documents SAML provider inspection which relates to authentication security, but doesn't fix vulnerabilities

Diff

diff --git a/code-library/latest/ug/iam_example_iam_GetSamlProvider_section.md b/code-library/latest/ug/iam_example_iam_GetSamlProvider_section.md
index 782d308b6..93b8807f0 100644
--- a//code-library/latest/ug/iam_example_iam_GetSamlProvider_section.md
+++ b//code-library/latest/ug/iam_example_iam_GetSamlProvider_section.md
@@ -75,0 +76,21 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example retrieves the details about the SAML 2.0 provider whose ARM is arn:aws:iam::123456789012:saml-provider/SAMLADFS. The response includes the metadata document that you got from the identity provider to create the AWS SAML provider entity as well as the creation and expiration dates.**
+    
+    
+    Get-IAMSAMLProvider -SAMLProviderArn arn:aws:iam::123456789012:saml-provider/SAMLADFS
+    
+
+**Output:**
+    
+    
+    CreateDate                 SAMLMetadataDocument                                          ValidUntil
+    ----------                 --------------------                                          ----------
+    12/23/2014 12:16:55 PM    <EntityDescriptor ID="_12345678-1234-5678-9012-example1...    12/23/2114 12:16:54 PM
+
+  * For API details, see [GetSamlProvider](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+