Files
az-agent-defaults/tests/fixtures/mcp/invalid/inline-secret.yaml
T
m3ta-chiron d428d53e9e feat(mcp): reference fragments + vault key naming schema + guard fixtures
README: add vault key naming schema (<server-name>-<verwendungszweck>,
kebab-case) and a key-exception example to the mcp/ guard rules.

Reference fragments in mcp/: zugferd-service.yaml (OAuth standard case,
no credential field) and az-zoll-service.yaml (documented key exception
using ${VAULT:az-zoll-service-api-key} placeholder) — neither contains
any secret.

Five invalid mcp fixtures under tests/fixtures/mcp/invalid/ covering all
README-documented failure modes: inline secret, missing server-name
fragment structure, missing url, missing type, wrong placeholder syntax.

Closes az-agent-defaults-95y
2026-08-22 10:26:56 +02:00

9 lines
306 B
YAML

# Testgegenstand: statischer Key im Klartext statt ${VAULT:...}-Platzhalter.
# Der Guard muss rot abbrechen — auch Beispiel-/Fake-Werte zählen als Secret.
wetter-service:
type: remote
url: https://mcp.example.az.local/wetter
headers:
Authorization: Bearer sk-live-a1b2c3d4e5f6
enabled: true