Class: SecretClient
Accessors
apiKeys
• get
apiKeys(): ApiKeysSecretClient
Returns
Methods
delete
▸ delete(key
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<void
>
deleteMany
▸ deleteMany(keys
): Promise
<void
>
Parameters
Name | Type |
---|---|
keys | string [] |
Returns
Promise
<void
>
get
▸ get(key
): Promise
<undefined
| SecretEntry
<SecretValue
>>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<undefined
| SecretEntry
<SecretValue
>>
getAll
▸ getAll(): Promise
<Record
<string
, SecretEntry
<SecretValue
>>>
Returns
Promise
<Record
<string
, SecretEntry
<SecretValue
>>>
upsert
▸ upsert(key
, value
): Promise
<SecretEntry
<SecretValue
>>
Parameters
Name | Type |
---|---|
key | string |
value | SecretValue |
Returns
Promise
<SecretEntry
<SecretValue
>>
upsertMany
▸ upsertMany(entries
): Promise
<SecretEntry
<SecretValue
>[]>
Parameters
Name | Type |
---|---|
entries | SetSecretRequestEntry [] |
Returns
Promise
<SecretEntry
<SecretValue
>[]>