UNPKG

@rytass/secret-adapter-vault-nestjs

Version:

Rytass Sceret Vault nestjs adapter

12 lines (11 loc) 463 B
import { ConfigService } from '@nestjs/config'; export declare class VaultService { private readonly config; private readonly manager?; private readonly onReadyCallbacks; private fallbackToEnvFile; constructor(config: ConfigService, path: string); get<T = string>(key: string): Promise<T>; set<T = string>(key: string, value: T, syncToOnline?: boolean): Promise<void>; delete(key: string, syncToOnline?: boolean): Promise<void>; }