UNPKG

signing-enclave

Version:

A code signing and notarization tool for macOS and Windows applications. Uses Azure Key Vault for secret and certificate management.

16 lines (15 loc) 559 B
import { SecretClient } from "@azure/keyvault-secrets"; export interface HsmSecretFile { secretFilePath: string; cleanup: () => Promise<void>; } export declare function getSecretClient(): Promise<SecretClient>; export interface HsmCertificateFile { secretFilePath: string; cleanup: () => Promise<void>; } export declare function downloadCertificateFile(secretName: string, { postfix, filePath }: { postfix?: string; filePath?: string; }): Promise<HsmSecretFile>; export declare function getSecret(secretName: string): Promise<string>;