sa.ts
Language TypeScript661 B16 lines
import { generateKeyPairSync } from 'node:crypto'/*** A REAL key, generated per run. The JWT path is the part of this client that* cannot be eyeballed: a wrong base64 alphabet or a mis-serialized claim set* produces a token Google rejects with a message that names none of it. Signing* for real here means those break in CI rather than at 6am against Gmail.*/export const SA = {email: 'meridian-dashboard@meridian-ops.iam.gserviceaccount.com',privateKey: generateKeyPairSync('rsa', {modulusLength: 2048,privateKeyEncoding: { type: 'pkcs8', format: 'pem' },publicKeyEncoding: { type: 'spki', format: 'pem' },}).privateKey,}