@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) • 340 B
TypeScript
type Options = {
filepath?: string;
env?: {
PRIVATE_KEY?: string;
PRIVATE_KEY_PATH?: string;
[key: string]: string | undefined;
};
cwd?: string;
};
export declare function getPrivateKey(options?: Options): string | null;
export declare namespace getPrivateKey {
var VERSION: string;
}
export {};