Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLI
Assigneesstack72

Relationships

#810 Docs: update vault inspect output in manual reference

Opened by stack72 · 6/24/2026· Shipped 6/25/2026

What changed

PR #1676 extended swamp vault inspect with new fields and behavior:

  • Added sizeBytes and sizeChars (byte and character length of the stored value)
  • Added valueType (always "string")
  • Added supportsAnnotations and supportsRefreshHooks boolean capability flags
  • Inspect now degrades gracefully when the provider doesn't support annotations or refresh hooks (returns null instead of erroring)
  • CLI description changed from "Show annotations for a vault secret" to "Show metadata for a vault secret"

Pages to update

  • content/manual/reference/vaults.md — update the vault inspect JSON output example and description
  • content/manual/how-to/vaults.md — update any vault inspect examples if present

These pages live in the swamp-club/swamp-club repo.

New JSON output shape

{
  "vaultName": "my-vault",
  "secretKey": "API_KEY",
  "vaultType": "local_encryption",
  "sizeBytes": 42,
  "sizeChars": 42,
  "valueType": "string",
  "supportsAnnotations": true,
  "hasAnnotation": true,
  "annotation": {
    "url": "https://console.aws.amazon.com/iam",
    "notes": "Production API key",
    "labels": { "env": "prod" },
    "updatedAt": "2026-01-15T10:30:00.000Z"
  },
  "supportsRefreshHooks": true,
  "hasRefreshHook": false,
  "refreshHook": null
}

Automoved by swampadmin from https://github.com/swamp-club/swamp/issues/1679

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

6/25/2026, 12:02:49 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/24/2026, 11:46:22 PM

Sign in to post a ripple.