UNPKG

@smythos/sdk

Version:
19 lines (18 loc) 548 B
import { AccessCandidate } from '@smythos/sre'; import { SDKObject } from '../Core/SDKObject.class'; export declare class VaultInstance extends SDKObject { #private; constructor(candidate?: AccessCandidate); protected init(): Promise<void>; /** * Get a value from the vault * @param key - The key to get the value for * @returns The value of the key */ get(key: string): Promise<string>; /** * List all keys in the vault * @returns An array of keys */ listKeys(): Promise<string[]>; }