Skip to main content

Class: ApiKeysSecretClient

Methods

delete

delete(key): Promise<void>

Parameters

NameType
keystring

Returns

Promise<void>


get

get(key): Promise<undefined | SecretEntry<SecretValue>>

Parameters

NameType
keystring

Returns

Promise<undefined | SecretEntry<SecretValue>>


getAll

getAll(): Promise<Record<string, SecretEntry<SecretValue>>>

Returns

Promise<Record<string, SecretEntry<SecretValue>>>


upsert

upsert(key): Promise<SecretEntry<SecretValue>>

Parameters

NameType
keystring

Returns

Promise<SecretEntry<SecretValue>>