UNPKG

@smythos/sdk

Version:
17 lines (16 loc) 556 B
import { AccessCandidate } from '@smythos/sre'; export declare class Vault { /** * Get a value from the vault * @param key - The key to get the value for * @param candidate - The candidate to get the value for * @returns The value of the key */ static get(key: string, candidate?: AccessCandidate): Promise<any>; /** * List all keys in the vault * @param candidate - The candidate to list the keys for * @returns An array of keys */ static listKeys(candidate?: AccessCandidate): Promise<any>; }