(private readonly db: NodePgDatabase<typeof schema>)
| 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, |
nothing calls this directly
no test coverage detected