Skip to main content

CLOUD_HOSTS

Constant CLOUD_HOSTS 

Source
const CLOUD_HOSTS: &[CloudRegion];
Expand description

The Bitwarden cloud deployments whose Send links do not carry their API host.

bw has no region-metadata service (the same gap documented in the web_vault_url TODO in super::send), so the mapping is a small table here. Hosts are matched exactly, never by suffix: a suffix match would let send.bitwarden.com.evil.tld route a Send password hash to real Bitwarden cloud identity.