Fork me on GitHub


Database Access


Teleport can provide secure connections to you databases while improving both access control and visibility.

Some of the things you can do with Database Access:

  • Users can retrieve short-lived database certificates using single sign-on flow thus maintaining their organization-wide identity.
  • Configure role-based access controls for databases and implement custom Access Request workflows.
  • Capture database access events as well as query activity in the audit log.

Database Access currently supports the following databases:

  • PostgreSQL
  • MySQL
  • MariaDB
  • MongoDB
  • Redis
  • CockroachDB
  • Microsoft SQL Server


Let's connect to a PostgreSQL server with psql and pgAdmin 4 after authenticating with GitHub, execute a few SQL queries and observe them in the audit log:

Getting started

Database guides


To learn more about configuring role-based access control for Database Access, check out RBAC section.

Architecture provides a more in-depth look at Database Access internals such as networking and security.

See Reference for an overview of Database Access related configuration and CLI commands.


Finally, check out Frequently Asked Questions.