# gdsgate > gdsgate is a single-binary access gateway: Authority (trust, identity, policy, audit), Proxy (client-facing data path) and Connector (beside protected resources) serve SSH, databases, Kubernetes, web applications, MCP servers, model services, Windows desktops and TCP services. One TOML file configures each role. Writing a configuration file: 1. Pick the role (`authority`, `proxy`, `connector`, `client`, `agent-host`) and the profile (`dev`, `pilot`, `production`). 2. Take the keys from the JSON Schema; `gdsgate config schema --role ` prints the keys that role reads. 3. Satisfy every `required` cell of the profile matrix for that role and profile. 4. Run `gdsgate config check --role --json`, change each `path` as its `fix` says, and run it again until it exits `0`. ```sh gdsgate config schema --role authority > authority.schema.json gdsgate config check authority.toml --role authority --profile pilot --json # [{"path": "store_url", "severity": "error", "message": "...", "fix": "..."}] ``` Exit codes of `config check`: `0` no findings, `1` an error, `2` warnings only. ## Configuration reference - [JSON Schema of the configuration file](https://gate.gds.dev/docs/0.10/reference/config.schema.json): draft 2020-12; `x-gdsgate-roles` on each top-level key, `x-gdsgate-profiles` on keys a profile requires - [Profile matrix](https://gate.gds.dev/docs/0.10/configuration/profiles/): what `dev`, `pilot` and `production` refuse or warn about at start, and the key or `setup prepare` flag that satisfies each check - [config check and config schema](https://gate.gds.dev/docs/0.10/cli/diagnostics/#gdsgate-config-check): flags, findings, exit codes - [Loading and global settings](https://gate.gds.dev/docs/0.10/configuration/overview/): file layering, secret references and role settings - [setup prepare](https://gate.gds.dev/docs/0.10/cli/setup/#gdsgate-setup-prepare): writes an Authority and a Proxy configuration from flags; `--dry-run` lists what the profile still needs ## High availability components - [Compose HA components](https://gate.gds.dev/docs/0.10/ha/): choose Authority routing, Proxy availability and the hosting platform independently - [Authority HA](https://gate.gds.dev/docs/0.10/ha/authority/): individual caller destinations or an L4 LB, direct peers, shared store, readiness and failover checks - [Authority bootstrap and synchronization](https://gate.gds.dev/docs/0.10/ha/bootstrap/): initialize once, admit each additional Authority, synchronize keyrings and recover protected state - [Proxy HA](https://gate.gds.dev/docs/0.10/ha/proxy/): separate enrollment identities, private peering, public L4 entry and Connector tunnel distribution - [Connector for HA Proxy pools](https://gate.gds.dev/docs/0.10/ha/connector/): catalogue declaration, pinned registration, two verified tunnels, system service or foreground operation and central recording ## Scenarios - [One Linux host](https://gate.gds.dev/docs/0.10/deploy/vps/): Authority and Proxy with systemd, PostgreSQL on the host, every command and the files it writes; the connector route table - [Separate hosts](https://gate.gds.dev/docs/0.10/deploy/split/): Authority internal, Proxy in a DMZ; traffic and firewall; `direct`, `tunneled`, `fronted` in full - [Docker Compose](https://gate.gds.dev/docs/0.10/deploy/compose/): complete `compose.yaml` and both configurations - [HA with direct Authority failover](https://gate.gds.dev/docs/0.10/deploy/ha-without-authority-lb/): Linux and Compose: HA Proxy behind a public L4 LB, HA Authority reached individually - [HA with an Authority load balancer](https://gate.gds.dev/docs/0.10/deploy/ha-with-authority-lb/): Linux and Compose: HA Authority behind a private L4 LB, native bootstrap and HA Proxy behind a public L4 LB - [Kubernetes](https://gate.gds.dev/docs/0.10/deploy/kubernetes/): Helm chart and kustomize base, Services per connector route, a connector in the cluster - [Docker Swarm](https://gate.gds.dev/docs/0.10/deploy/swarm/): one node, `stack.yaml` with Swarm secrets and configs, published ports in `host` mode, connectors outside and as a service, upgrade and rollback - [Certificates](https://gate.gds.dev/docs/0.10/deploy/certificates/): IP address only, Let's Encrypt, your own CA; which keys, how peers trust them, renewal - [What a change affects](https://gate.gds.dev/docs/0.10/deploy/change/): a table of changes made after the first start, the files and keys each touches, what else must change, restart or hot reload, the symptom if missed, a check command - [Per-role recipes](https://gate.gds.dev/docs/0.10/configuration/recipes/#per-role-recipes): Authority-only, Proxy-only, Connector-only, Connector through the Proxy, client, all-in-one - [Bringing up a multi-node cluster](https://gate.gds.dev/docs/0.10/admin-guide/#bringing-up-a-multi-node-cluster) - [Quickstart](https://gate.gds.dev/docs/0.10/quickstart/): decision table from what you have to a deployment page, profile and connector route - [Installation](https://gate.gds.dev/docs/0.10/admin-guide/#installation): supplied artifacts, release signature and checksum verification - [Access checks](https://gate.gds.dev/docs/0.10/deploy/#acceptance): client trust, allowed access, policy denial, backend isolation and audit integrity after deployment ## Optional - [Security configuration](https://gate.gds.dev/docs/0.10/configuration/security/): `[security]`, keyrings, MFA, CA rotation - [Diagnostics](https://gate.gds.dev/docs/0.10/cli/diagnostics/#gdsgate-doctor): `gdsgate doctor` on a running host ## Audit and health references - [Audit event codes](https://gate.gds.dev/docs/0.10/operations/audit/#event-codes): code, event or policy-action name and short description for this edition; policy codes distinguish activity records and listing filters - [Health and metrics](https://gate.gds.dev/docs/0.10/operations/health/): liveness, runtime readiness, HTTP checks, metric types and labels, Connector tunnels and traces - [Policy reference](https://gate.gds.dev/docs/0.10/policy/reference/): supported actions, context fields and task links