Skip to main content
← Back to list
01Issue
BugOpenSwamp CLIPublic
AssigneesNone

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.

02Bog Flow
◉OPEN○TRIAGED○IN PROGRESS○SHIPPED

Open

11/13/2026, 10:10:02 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.