MCPcopy
hub / github.com/fosrl/pangolin / rotateServerSecret.ts

File rotateServerSecret.ts

cli/commands/rotateServerSecret.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { CommandModule } from "yargs";
2import { db, idpOidcConfig, licenseKey, certificates, eventStreamingDestinations, alertWebhookActions } from "@server/db";
3import { encrypt, decrypt } from "@server/lib/crypto";
4import { configFilePath1, configFilePath2 } from "@server/lib/consts";

Callers

nothing calls this directly

Calls 3

decryptFunction · 0.90
encryptFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected