Skip to content

Multi-credential connectors (multi auth style) + Datadog#32

Merged
Jacobobber merged 1 commit into
mainfrom
feat/multi-credential
Jul 8, 2026
Merged

Multi-credential connectors (multi auth style) + Datadog#32
Jacobobber merged 1 commit into
mainfrom
feat/multi-credential

Conversation

@Jacobobber

Copy link
Copy Markdown
Owner

Some services need more than one credential (Datadog's API key + app key), but the vault holds one credential per (subject, service). The multi auth style closes that gap.

  • ("multi", ((placement, name, field), ...)) — the user stores a JSON bundle in the single slot, and each field is placed in its own header or query parameter. A malformed bundle is a clean ConnectorError, and the bundle is never echoed in an error.
  • Datadog ships on it (DD-API-KEY + DD-APPLICATION-KEY): datadog_list_monitors, datadog_get_monitor, datadog_list_dashboards, datadog_list_events. Catalog now 47 services / 115 tools.

6 new tests: field placement (header + query), non-JSON rejected, missing-field rejected without echoing the present credential, and end-to-end (both keys reach the request; bad bundle is a clean error). 254 tests, mypy --strict, ruff (whole repo), catalog-freshness green. Backward compatible; v0.24.0.

Some services need more than one credential; the vault holds one per
(subject, service). The multi auth style stores a JSON bundle in the single
slot and places each field in its own header/query.

- ('multi', ((placement, name, field), ...)): parses the JSON credential and
  maps each field to a header or query parameter. A malformed bundle is a
  clean ConnectorError and the bundle is never echoed in an error.
- Datadog ships on it (DD-API-KEY + DD-APPLICATION-KEY). Catalog now 47
  services / 115 tools.

254 tests (+6), mypy --strict, ruff (whole repo), catalog freshness all green.
v0.24.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jacobobber Jacobobber merged commit bd4f1be into main Jul 8, 2026
12 checks passed
@Jacobobber Jacobobber deleted the feat/multi-credential branch July 8, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant