MCPcopy Create free account
hub / github.com/ShipSecAI/studio / constructor

Method constructor

worker/src/adapters/secrets.adapter.ts:13–16  ·  view source on GitHub ↗
(private readonly db: NodePgDatabase<typeof schema>)

Source from the content-addressed store, hash-verified

11 private readonly encryption: SecretEncryption;
12
13 constructor(private readonly db: NodePgDatabase<typeof schema>) {
14 const rawKey = process.env.SECRET_STORE_MASTER_KEY ?? FALLBACK_DEV_KEY;
15 this.encryption = new SecretEncryption(parseMasterKey(rawKey));
16 }
17
18 async get(
19 key: string,

Callers

nothing calls this directly

Calls 1

parseMasterKeyFunction · 0.90

Tested by

no test coverage detected