Keep that user: it is the right base. GateRook adds controls that a database grant doesn't give you:
- The password stays out of the AI app. GateRook stores it encrypted and connects for the AI.
- Narrower reach. Databases, Schema allowlist and Tables agents may use can narrow what the AI reads.
- Bounded results. Row limits (1,000, or 100 on prod), statement timeouts, response size and rate limits.
- A second safeguard. SQL reads always run read only: PostgreSQL, MySQL and Oracle in read-only transactions, and every read ends with ROLLBACK.
- Masking. Known secrets in results are masked, and personal data on prod by default.
- A record. Activity shows who asked, the exact query and the decision.
- Quick control. Pause or revoke access without touching grants, and send any later write through Approval instead of a second user.
What doesn't change: within those limits, the AI can read whatever the user can, and allowed results reach the AI app and may reach its model provider. Masking isn't data-loss prevention. See read-only transactions.