AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 examples for Glacier uploads with checksum verification

Security assessment

Shows data integrity protection through checksums but no specific security issue being addressed

Diff

diff --git a/code-library/latest/ug/glacier_example_glacier_UploadArchive_section.md b/code-library/latest/ug/glacier_example_glacier_UploadArchive_section.md
index b24bb3690..bb8225f76 100644
--- a//code-library/latest/ug/glacier_example_glacier_UploadArchive_section.md
+++ b//code-library/latest/ug/glacier_example_glacier_UploadArchive_section.md
@@ -442,0 +443,39 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: Uploads a single file to the specified vault, returning the archive ID and computed checksum.**
+    
+    
+    Write-GLCArchive -VaultName myvault -FilePath c:\temp\blue.bin
+    
+
+**Output:**
+    
+    
+    FilePath                    ArchiveId              Checksum
+    --------                    ---------              --------
+    C:\temp\blue.bin            o9O9jUUs...TTX-TpIhQJw 79f3e...f4395b
+
+**Example 2: Uploads the contents of a folder hierarchy to the specified vault in the user's account. For each file uploaded the cmdlet emits the filename, corresponding archive ID and the computed checksum of the archive.**
+    
+    
+    Write-GLCArchive -VaultName myvault -FolderPath . -Recurse
+    
+
+**Output:**
+    
+    
+    FilePath                    ArchiveId              Checksum
+    --------                    ---------              --------
+    C:\temp\blue.bin            o9O9jUUs...TTX-TpIhQJw 79f3e...f4395b
+    C:\temp\green.bin           qXAfOdSG...czo729UHXrw d50a1...9184b9
+    C:\temp\lum.bin             39aNifP3...q9nb8nZkFIg 28886...5c3e27
+    C:\temp\red.bin             vp7E6rU_...Ejk_HhjAxKA e05f7...4e34f5
+    C:\temp\Folder1\file1.txt   _eRINlip...5Sxy7dD2BaA d0d2a...c8a3ba
+    C:\temp\Folder2\file2.iso   -Ix3jlmu...iXiDh-XfOPA 7469e...3e86f1
+
+  * For API details, see [UploadArchive](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+