envilder
Version:
A CLI that securely centralizes your environment variables from AWS SSM as a single source of truth
22 lines • 1.07 kB
TypeScript
import type { ILogger } from '../../domain/ports/ILogger.js';
import type { ISecretProvider } from '../../domain/ports/ISecretProvider.js';
import type { IVariableStore } from '../../domain/ports/IVariableStore.js';
import type { PushEnvToSsmCommand } from './PushEnvToSsmCommand.js';
export declare class PushEnvToSsmCommandHandler {
private readonly secretProvider;
private readonly variableStore;
private readonly logger;
constructor(secretProvider: ISecretProvider, variableStore: IVariableStore, logger: ILogger);
/**
* Handles the PushEnvToSsmCommand which imports environment variables
* from a local file and pushes them to AWS SSM.
* Uses a map file to determine the SSM parameter path for each environment variable.
*
* @param command - The PushEnvToSsmCommand containing mapPath and envFilePath
*/
handle(command: PushEnvToSsmCommand): Promise<void>;
private loadConfiguration;
private pushVariablesToSSM;
private processVariable;
}
//# sourceMappingURL=PushEnvToSsmCommandHandler.d.ts.map