CAPTIVO ACCESS · DATABASES

Database access for vendors: no password handed over, every statement logged

People connect with their own database client (psql, mysql, SSMS, DBeaver, redis-cli, mongosh) to a Captivo address. Captivo signs in to the database for them with a saved account, logs every statement and ends the connection when access ends. No VPN, no shared password.

Five database engines, with your own client

PostgreSQL
psql and any PostgreSQL client. PostgreSQL 17's direct TLS works. Optionally, only the databases you name open.
MySQL / MariaDB
The mysql client and GUI tools. Tools that ask for the server version see the real one.
SQL Server
SSMS, Azure Data Studio and DBeaver. Works with SQL Server logins; there is no Windows or Entra ID sign-in.
Redis
redis-cli and client libraries; TLS is required and RESP2 is spoken. Commands that would reveal the password or change the server are refused.
MongoDB
mongosh, Compass and Studio 3T. The ticket travels with PLAIN authentication.

How it works

1. Save the account once

An admin enters the database server and an account in the resource. The password is sealed to the Connector and is never shown to anyone again.

2. The person gets a ticket

An authorised person presses Connect and gets a short-lived 24-character ticket. It is valid for at most eight hours and never past the end of the grant.

3. They connect with a normal client

The client connects to the Captivo proxy with the ticket. The Connector signs in to the real server with the saved account; the proxy relays the traffic and logs it.

On the client, only the address and the user name change

bash
psql "host=acme.cloud.captivo.io port=15432 user=k7m2x9qp4tbn8dcv3wzr5hya dbname=crm sslmode=require"

mysql -h acme.cloud.captivo.io -P 13307 -u k7m2x9qp4tbn8dcv3wzr5hya --ssl-mode=REQUIRED crm

Example: the ticket goes where the user name goes. The address and port are shown ready to copy in the Connect window.

What you get

The password is not with the person

The saved account's password is sealed to the Connector and the vendor never sees it. The ticket is stored hashed and ends with the session.

Time-boxed and checked continuously

Access is checked again at every new connection and every minute. A grant that ends, a disabled user or a client outside the IP allowlist closes the session.

Every statement in the log

Each statement is stored with its time, duration, row count and error on the Connector that carried the session; nothing is kept in the cloud. Results and bind values are not stored, and password literals are masked.

Risky statements are flagged

DROP, TRUNCATE, DELETE or UPDATE without WHERE, GRANT/REVOKE, Redis FLUSHALL and MongoDB dropDatabase are marked "to review" in the log. That is a hint for the reviewer, not a control.

A database user per connection

On PostgreSQL and MySQL / MariaDB each connection gets a temporary user that inherits a role and is dropped when the connection closes. The server's own log shows that connection's user.

Live view and ending a session

Admins see statements live on the Sessions page and can end the session. The Audit page marks these rows "DB", and they can be forwarded to your SIEM.

A database resource: the engine, the Connector, the internal address and where the credential lives.

The limits, stated plainly

These are deliberate choices and today's boundaries.

  • There is no read-only switch, on purpose. The proxy does not parse statements to block writes; that is easy to get around and gives false comfort. A session can do exactly what the saved account can do: save an account that can only read for read-only access, one that can write for write access.
  • SQL Server supports SQL Server logins only: no Windows (Kerberos/NTLM), no Entra ID, no MARS and no Strict encryption (TDS 8).
  • Redis and MongoDB log commands rather than statements; values, scripts and documents stay out of the log.
  • The allowed-databases list exists for PostgreSQL only. On other engines a statement can name another database, so the account's own grants decide.
  • Clients reach the proxy on its own port over TLS; the firewall in front of the console must allow the port of every engine you use.
Database access guide

Frequently asked questions

Does the vendor see the database password?
No. The saved account's password is sealed to the Connector and shown to no one. The person gets only a short-lived ticket, valid for at most eight hours and never past the end of the grant.
Which databases and clients are supported?
PostgreSQL, MySQL / MariaDB, SQL Server, Redis and MongoDB. People use their own clients: psql, mysql, SSMS, Azure Data Studio, DBeaver, redis-cli, mongosh, Compass and the like.
Can I block writes?
For read-only access you save an account that can only read; what a session can do is what the saved account can do. The proxy does not parse statements to block writes, because that is easy to get around. If some people need to write, define a separate resource and a separate grant.
Where are the queries stored?
On the Connector that carried the session, which is in your network. Nothing is kept in the cloud. Time, duration, row count and error are stored; results and bind values are not.

Back to Captivo Access

Related reading

GET STARTED

Give database access without sharing a password

Open your console on Cloud or install it on your own server. Approval, schedules and ticket gates work as they do for every other resource.