| Name | Type | Description |
|---|---|---|
configs | Optional[Iterable[workspace_secret_upsert_params.Config]] | Omit | Default: omitFull replacement of the allowed hosts. Omitted or empty removes custom hosts so the built-in defaults, if any, apply. |
value | Optional[str] | Omit | Default: omit |
extra_headers | Headers | None | Default: None |
extra_query | Query | None | Default: None |
extra_body | Body | None | Default: None |
timeout | float | httpx.Timeout | None | NotGiven | Default: not_given |
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.
Secret value. Required to create a secret; omit to keep the current value.
Send extra headers
Add additional query parameters to the request
Add additional JSON properties to the request
Override the client-level default timeout for this request, in seconds