Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions types/defines/secrets-store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@ interface SecretsStoreSecret {
* if it exists, or throws an error if it does not exist
*/
get(): Promise<string>;

/**
* Get multiple secrets from the same Secrets Store in a single request.
* Returns a record mapping secret names to their values.
* Only secrets that are found are included in the result.
* Throws an error if the request fails.
*/
getMulti(secretNames: string[]): Promise<Record<string, string>>;
}
Loading