UNPKG

@probot/get-private-key

Version:

Get private key from a path, environment variables, or a `*.pem` file in the current working directory

15 lines (14 loc) 388 B
type Options = { filepath?: string | undefined; env?: { PRIVATE_KEY?: string | undefined; PRIVATE_KEY_PATH?: string | undefined; [key: string]: string | undefined; }; cwd?: string | undefined; }; export declare function getPrivateKey(options?: Options): string | null; export declare namespace getPrivateKey { var VERSION: string; } export {};