AWS amazonglacier documentation change
Summary
Added PowerShell V5 examples for UploadArchive with checksum documentation
Security assessment
New code examples show archive upload process and checksum usage, which is a data integrity feature rather than a security fix.
Diff
diff --git a/amazonglacier/latest/dev/example_glacier_UploadArchive_section.md b/amazonglacier/latest/dev/example_glacier_UploadArchive_section.md index 754cf55c3..9c80206a1 100644 --- a//amazonglacier/latest/dev/example_glacier_UploadArchive_section.md +++ b//amazonglacier/latest/dev/example_glacier_UploadArchive_section.md @@ -444,0 +445,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)_. + + + +