AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 examples for certificate renaming/path changes

Security assessment

Organizational changes to certificate management with no direct security impact

Diff

diff --git a/code-library/latest/ug/iam_example_iam_UpdateServerCertificate_section.md b/code-library/latest/ug/iam_example_iam_UpdateServerCertificate_section.md
index b52014983..5c6194a0b 100644
--- a//code-library/latest/ug/iam_example_iam_UpdateServerCertificate_section.md
+++ b//code-library/latest/ug/iam_example_iam_UpdateServerCertificate_section.md
@@ -186,0 +187,20 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example renames the certificate named`MyServerCertificate` to `MyRenamedServerCertificate`.**
+    
+    
+    Update-IAMServerCertificate -ServerCertificateName MyServerCertificate -NewServerCertificateName MyRenamedServerCertificate
+    
+
+**Example 2: This example moves the certificate named`MyServerCertificate` to the path /Org1/Org2/. This changes the ARN for the resource to `arn:aws:iam::123456789012:server-certificate/Org1/Org2/MyServerCertificate`.**
+    
+    
+    Update-IAMServerCertificate -ServerCertificateName MyServerCertificate -NewPath /Org1/Org2/
+    
+
+  * For API details, see [UpdateServerCertificate](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+