Create or update a workspace secret and the hosts it may be sent to.
Requires workspace admin. Omit value to keep the current one; it is required to create a secret. configs replaces the secret's hosts; omitted or empty restores the built-in defaults for known provider keys. The value is never returned.
upsert(
key: string,
body: WorkspaceSecretUpsertParams,
options: RequestOptions
): APIPromise<WorkspaceSecret>| Name | Type | Description |
|---|---|---|
key* | string | |
body* | WorkspaceSecretUpsertParams | |
options | RequestOptions |