UNPKG

@harboor/core

Version:
15 lines (14 loc) 613 B
export type DumpArgs = { aws: { credentials: { region: string; accessKey: string; accessKeySecret: string; }; secretName: string; }; dest?: string; }; export declare function fetchSecretsAws<E extends Record<string, string | number | boolean>>({ aws, dest }: DumpArgs): Promise<any>; export declare function resolveReferencesRecursive(secrets: Record<string, string>, hadAtLeastOneReference?: boolean): Record<string, string>; export declare function save(dest: string, secrets: Record<string, string | number | boolean>): Promise<boolean>;