Regions Overview
Use this page when you need one public reference for how Keeptrusts talks about region and locality today.
Start with the requested region
The most important region concept is the requested region: the region your current CLI invocation, gateway workflow, or published endpoint is trying to use right now.
Other region-related values may exist at the same time:
- Profile default region: the region stored for a named CLI profile in
~/.keeptrusts/config.yaml. - Process-wide override:
kt --region <region>setsKEEPTRUSTS_REGIONfor the current CLI process. - Published-endpoint locality: the hostname you use for a Keeptrusts-managed public endpoint determines locality and publication routing.
- Resource home region: some resources or provider targets only exist in one region. If your requested region does not match, the result can look empty or unavailable rather than globally aggregated.
Set a default region for a CLI profile
The CLI stores profile defaults in ~/.keeptrusts/config.yaml.
kt configure set region eu-west --profile default
kt configure get region --profile default
kt configure list-profiles
kt regions use <region> and kt regions switch <region> still work, but they are aliases for writing the same profile-scoped default region.
Inspect the active region
Use these commands to inspect what the CLI can see and what it will use:
kt regions list
kt regions list --json
kt regions list --enabled
kt regions list --group eu
kt regions current
kt regions status
kt regions current prints:
- the resolved region
- the source that won
- the resolved API endpoint
- whether the current scope is
globalorregional
Current CLI precedence
For the current kt regions current CLI behavior, region resolution is:
- process-wide override from
kt --region <region>orKEEPTRUSTS_REGION profiles.<profile>.default_regionin~/.keeptrusts/config.yaml- the legacy root-level
default_regionfield in the same file
The API endpoint is resolved separately from the usual CLI config chain:
--api-urlKEEPTRUSTS_API_URLapi_urlin~/.keeptrusts/config.yamlhttps://api.keeptrusts.com
~/.keeptrusts/config.yaml controls the requested region used by API-backed CLI commands. policy-config.yaml stays authoritative for gateway runtime and provider locality, and a published hostname keeps its own locality binding. If those disagree, fix the declarative config or hostname instead of expecting the CLI profile default to rewrite runtime routing.
Keeptrusts does not treat "nearby" or same-family regions as interchangeable by default. When a workflow depends on a specific region or locality, the product fails closed instead of silently switching regions for you.
Console availability
The current customer console does not provide a Settings → Regions page or a browser-session region selector. Use the CLI commands above to inspect and change a profile's requested region. For managed public endpoints, choose the hostname whose locality matches the workload; the console does not rewrite that binding.
Managed public endpoints
For Keeptrusts-managed public endpoints, the hostname you choose changes locality and publication routing without changing the auth model.
Examples:
*.ai.global.keeptrusts.com*.ai.eu.keeptrusts.com*.ai.us.keeptrusts.com
Use Unified Access when you need the current public hostname and locality model.
When the wrong region looks like a missing resource
Start with these checks:
- Run
kt regions current. - Confirm the resolved API endpoint is the one you intended to use.
- Confirm the resource or provider target actually exists in that region.
- If you are using a published hostname, confirm the hostname's locality matches the workload you expect.