> ## Documentation Index
> Fetch the complete documentation index at: https://equatetravel.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connector security

> How equate protects every connection to your systems: what is encrypted, what is verified, what you can tighten, and how to rotate credentials without an outage.

Every connector is built to be **simple to set up and safe by default**, with an
**Additional security** section on its form for the controls a security review asks
about. This page is the single place those controls are written down. Each connector's
own guide repeats the parts that apply to it.

## What is always true

| Control | How it works |
| - | - |
| **Credentials encrypted at rest** | Passwords, tokens, keys and certificates are encrypted with AES-256-GCM before they reach the database, under a key held per environment in the application platform, never in the database. A credential is never readable in a table, a backup or an API response, and is never shown again after you save it. |
| **Replace, never reveal** | To change a credential you enter a new one. Leaving a credential blank on an edit form keeps what is stored. |
| **Encrypted in transit** | Webhooks and APIs are called over https; SFTP is SSH; FTPS is TLS; databases connect with TLS by default. Only plain FTP and a database with encryption switched off travel in the clear, and both are labelled as such. |
| **Internal addresses are refused** | A host you enter must resolve to a public address. Loopback, private ranges and cloud metadata addresses are rejected, and http redirects are never followed, so a connector cannot be pointed at infrastructure behind equate. |
| **Scoped roles** | Connectors are managed by **Admins**, **Managers** and the **Technical** role, which can set up integrations without seeing invoices or financial data. See [members & roles](https://equatetravel.ai/docs/guides/members-and-roles.md). |
| **Audited** | Creating, editing, testing, deactivating and deleting a connector, and rotating a webhook secret, are recorded in **Logs → Audit** with who and when. |
| **One place to review** | **Organisation → Keys & secrets** lists your API keys, every webhook's signing secret with its rotation state, and every stored credential with when it was last saved. |

## Per connector

### Inbound email

* Mail reaches equate through our email provider, which signs every delivery; equate
  verifies the signature and its timestamp (5-minute tolerance) before reading anything.
* A message is attributed to a supplier by its **sender domain**; mail from unknown
  senders is held as **Unknown sender** rather than processed blind, unless you opt in.
* A **mixed inbox** triages non-invoice mail aside. A booking-data address can carry a
  **sender allowlist**. See [inbound email](https://equatetravel.ai/docs/connectors/inbound-email.md).

### Gmail and Microsoft 365

* You sign in with the provider; equate holds a refresh token scoped to reading mail
  (and labelling, if you keep that on). Revoking the grant in Google or Microsoft cuts
  access immediately; **Reconnect** replaces it.

### FTP, FTPS and SFTP

* Prefer **SFTP**. Under Additional security you can authenticate with an **SSH private
  key** instead of a password.
* **Host-key pinning**: the first successful test records the server's host-key
  fingerprint and every later connection insists on it, exactly as `ssh` does. Paste
  the fingerprint your IT team gives you to pin before the first connection. A changed
  key fails with a message that says so; clear or update the pin if the server was
  rebuilt on purpose.
* Files on the server can be **PGP-encrypted** to a key only equate holds.
* Give equate a **dedicated user** scoped to the exchange folder. See
  [FTP / SFTP](https://equatetravel.ai/docs/connectors/ftp-sftp.md).

### Booking database

* **Encryption** defaults to *Require*. Choose *Require + verify certificate* to also
  check the server's identity, and paste your **certificate authority** under
  Additional security when it isn't a public one (a private CA, or the RDS / Azure
  bundle).
* Use a **read-only login** and, ideally, a **replica or a view** that exposes only
  booking columns. Every query is a bounded `SELECT`; identifiers are validated and
  quoted; nothing is pooled across lookups. See [database lookup](https://equatetravel.ai/docs/connectors/database-lookup.md).

### Booking API

* Authenticate with an **API key header**, a **bearer token**, **basic** credentials or
  **OAuth 2.0 client credentials** (Cognito, Auth0, Entra ID, Okta): equate exchanges a
  client id and secret for a short-lived token before calling, and refreshes it about
  a minute before it expires.
* Calls carry a 5-second timeout, a response-size cap and never follow redirects. See
  [booking API](https://equatetravel.ai/docs/connectors/booking-api.md).

### Webhook

* Your endpoint authenticates equate with the same options as above, and every request
  is **signed** with a secret you can **rotate with an overlap window** so the switch
  never drops a delivery. Signatures carry a timestamp, so a captured request cannot be
  replayed. Document links are signed and expire. See the
  [webhook contract](https://equatetravel.ai/docs/connectors/webhook.md).

## Rotating credentials

| Credential | How to rotate | Gap? |
| - | - | - |
| Webhook signing secret | **Rotate** on the connector or Keys & secrets; choose an overlap of 1 hour to 7 days. | None: both secrets sign until you finish. |
| Webhook / booking API token, key or password | Issue the new one on your side, enter it on the connector, save. | Only between your system accepting the new one and your save; most systems accept both for a while. |
| OAuth client secret | Create a new secret on the app client, enter it, save. equate drops the cached token. | None if the old secret stays valid until you save. |
| SFTP password or SSH key | Add the new credential on the server, enter it, save, then remove the old one. | None. |
| Database password | Same pattern: add, save, remove. | None. |
| API key (yours, for calling equate) | Create a second key, switch your system, revoke the first. | None. |
| SFTP host key (server rebuilt) | Clear the pinned fingerprint on the connector and test again, or paste the new one. | Connections fail until you do, by design. |

## Network

equate runs in the EU (Dublin) and connects outbound over the public internet. If your
firewall must allow equate by address, ask us: calls to your webhooks and APIs can be
routed through a fixed address for your workspace. SFTP and database connections that
need a fixed address are handled case by case.

## What to ask us for

A **security review pack** (architecture, sub-processors, encryption, retention), a
**DPA**, **SSO and IP allow-listing** for your own users ([Organisation → Security](https://equatetravel.ai/docs/guides/members-and-roles.md)),
and the **fixed outbound address** above.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.