Locks down current behavior of the helpers in src/Elysium/Private
before the storage layer is rewritten (one HttpClient path, Windows
PowerShell 5.1 only):
- Read-KeyValueSettingsFile: comments, blank and malformed lines,
quote stripping, '=' inside values (SAS tokens), missing file;
Read-ElysiumSettings throws on a missing file.
- Combine-StoragePath, Build-BlobUri (SAS with/without leading '?',
percent-escaping preserved, empty SAS rejected), BuildS3Uri
(path-style and virtual-host with a non-default port).
- BuildAuthHeaders: full Authorization header for a path-style GET
and a virtual-host PUT on port 9000, with Get-Date mocked. The
expected signatures were generated by botocore 1.43 (S3SigV4Auth)
from the same inputs, so they come from an independent
implementation rather than from this code.
8/8 pass on pwsh 7 with Pester 5.9.1. Mutation check: dropping the
port from the signed Host header fails exactly the port-9000 test.