Relationships
#4734 vault: legacy type deprecation warning wraps names in doubled quotes
Opened by stack72 · 11/13/2026
When swamp loads a vault config whose type is a legacy name (aws-sm here), the warning from src/domain/vaults/vault_service.ts:165 prints each value with doubled quotes:
[WRN] vaults: Vault '"legacy-secrets"' uses deprecated type '"aws-sm"'. Automatically remapping to '"@swamp/aws-sm"'. Update your vault config to use type: "@swamp/aws-sm"
Expected: Vault 'legacy-secrets' uses deprecated type 'aws-sm'. Automatically remapping to '@swamp/aws-sm'. ...
The logtape template literal already quotes interpolated strings, and the message adds its own single quotes around them. Reproduce with swamp 20261113.201711.0-sha.9c9e0ef0: create vaults/aws-sm/.yaml with type: aws-sm, then run swamp vault list-keys default. The manual quotes this warning verbatim in reference/vaults.md (swamp-club#4726), so it needs updating when this is fixed. Found while working swamp-club#4727.
Open
No activity in this phase yet.
Sign in to post a ripple.