Skip to content

Gateway API

The client.gateway namespace exposes lightweight accessors for Gateway session state, provider routing, and the per-tenant key vault.

SDK proxy

crp.sdk.proxies_extra._GatewayProxy

CRP Gateway proxy (SPEC-016).

Exposes lightweight accessors for Gateway session state, provider routing, and the per-tenant key vault.

session()

Return a fresh GatewaySession instance.

The session is independent of the SDK orchestrator; identifiers default to empty / sdk values suitable for local exploration.

Returns:

Type Description
Any

GatewaySession instance.

router()

Return the orchestrator's Gateway router when present.

Falls back to a default ProviderRouter if the orchestrator has no gateway router attached.

Returns:

Type Description
Any

ProviderRouter instance.

key_vault()

Return a fresh KeyVault instance.

Returns:

Type Description
Any

KeyVault instance.