refactor: depend on SecretStore instead of the VaultStore class (P1.2)
Connectors, the connector SDK and registry, setup-connectors, provider-env, the LiteLLM runtime config and the sidecar's `vault` decoration only read and write secrets, so they now take the SecretStore interface. VaultStore is still constructed in the sidecar and the service startup, and its file format is unchanged. AGENTS.md now points at the interface.
This commit is contained in:
@@ -243,7 +243,7 @@ export class CredentialPool {
|
||||
|
||||
/**
|
||||
* Minimal vault interface — just enough to load keys.
|
||||
* Matches @waggle/core VaultStore.get() and VaultStore.has().
|
||||
* Matches SecretStore.get() and SecretStore.has() from @waggle/core.
|
||||
*/
|
||||
export interface VaultLike {
|
||||
get(name: string): { value: string } | null;
|
||||
|
||||
Reference in New Issue
Block a user