Skip to content

cayu.egress.destinations

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.egress import ApprovedEgressDestination

One credentialless HTTPS destination governed by an egress policy.

This declaration intentionally has no SecretRef or guest credential. The broker authorizes each request against policy_name and forwards the caller’s headers unchanged. Cayu v1 only supports broker-terminated HTTPS on the standard port; other transports fail closed instead of being silently widened.

Decorators: @dataclass(frozen=True).

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
destination str required
policy_name str required
protocol EgressProtocol 'https'
port int 443
ApprovedEgressDestination.authority() -> tuple[str, str, int]

Release source · Runtime guarantees · Capability guides

from cayu.egress import EgressProtocol
EgressProtocol = Literal['https']

Release source · Runtime guarantees · Capability guides