UNPKG

@getvast/azure-sign-tool-electron-forge-plugin

Version:

This is an Electron Forge plugin designed to automatically sign files with an HSM certificate from Azure Key Vault (with AzureCodeSign), in the build process.

18 lines (17 loc) 686 B
import PluginBase from "@electron-forge/plugin-base"; import { ForgeMakeResult, ForgeMultiHookMap, ResolvedForgeConfig } from "@electron-forge/shared-types"; type ConfigTypes = { azureKeyVaultUri: string; azureClientId: string; azureTenantId: string; azureClientSecret: string; azureCertificateName: string; }; export declare class ElectronForgeAzureSignToolPlugin extends PluginBase<ConfigTypes> { name: string; constructor(config: ConfigTypes); getHooks(): ForgeMultiHookMap; postMake: (forgeConfig: ResolvedForgeConfig, makeResults: ForgeMakeResult[]) => Promise<ForgeMakeResult[]>; sign(path: string, config: ConfigTypes): void; } export {};