@ycmd/creds
Version:
LSK.js CLI Creds is the easiest way to manage GitHub / Gitlab secrets and credentials
25 lines (23 loc) • 556 B
TypeScript
type SecretFile = {
name: string;
filename: string;
credType?: string;
content?: string;
handler: (arg0: any) => Record<string, any>;
};
type Secrets = {
secrets?: Record<string, string>;
variables?: Record<string, string>;
files?: Array<SecretFile>;
hooks?: Array<any>;
};
type ServiceOptions = {
projectId?: string;
projectName?: string;
projectPath?: string;
projectCredsUrl?: string;
token: string;
server: string;
force: boolean;
};
export type { SecretFile, Secrets, ServiceOptions };