MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / providerForSecret

Function providerForSecret

packages/core/sdk/src/migration-spec.ts:1807–1812  ·  view source on GitHub ↗
(
  secrets: readonly V1SecretRow[],
  scopeId: string,
  secretId: string,
)

Source from the content-addressed store, hash-verified

1805};
1806
1807const providerForSecret = (
1808 secrets: readonly V1SecretRow[],
1809 scopeId: string,
1810 secretId: string,
1811): string =>
1812 secrets.find((s) => s.scopeId === scopeId && s.id === secretId)?.provider ?? "workos-vault";

Callers 1

planMigrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected