jbilcke-hf's picture
jbilcke-hf HF Staff
eh, not bad for a side project
8919651
raw
history blame contribute delete
277 Bytes
import { createSecretKey } from "node:crypto"
export const secretKey = createSecretKey(`${process.env.API_SECRET_JWT_KEY || ""}`, 'utf-8')
export const issuer = `${process.env.API_SECRET_JWT_ISSUER || ""}`
export const audience = `${process.env.API_SECRET_JWT_AUDIENCE || ""}`