Skip to main content

Add and Edit Databases

In JumpCloud Privileged Access Management (PAM), you add databases as privileged resources. Users reach them through a Jump Server, with the credentials that you choose.

This article explains how to add a database and how to edit it. The form is divided into seven cards: General, Database Credentials, Database Access, Database Credential Access, Database Managers, Blocking Rules, and Rule Exceptions. It is intended for Admins who manage privileged resources in JumpCloud PAM.

Prerequisites

  • A Jump Server in your org. To reach a database, the user connects to the Jump Server, and the Jump Server connects to the database.
  • Network access from the Jump Server to the database, on the port of the provider.
  • The Administrator with Billing role, or a listing as a manager of the database (see the Database Managers card).

Adding a Database​

  1. In the JumpCloud Admin Portal, go to Access > PAM > Privileged Resources > Databases.
  2. Click Add Database.
  3. Complete the cards described in the next section.
  4. Save the database.

Add Database form in JumpCloud PAM

Configuring the Database​

General​

This card has the basic information of the database.

FieldWhat to enter
NameThe name users see for the database.
URIThe IP address or hostname that the Jump Server uses to reach the database.
Jump ServerThe Jump Server that connects users to this database.
ProviderThe database engine. See the provider list below.
Database NameThe database that users connect to.
PortThe port of the database. PAM fills it in with the default port of the provider. You can use a custom port, as long as the database listens on it and the Jump Server can reach it.
Use default connection stringOn by default. PAM generates the connection string from the provider, the port, and the database name, and updates it when you change them. Toggle off to enter your own connection string.
Tags and NotesOptional. Use them to organize and describe the database.

These are the providers that you can select, with their default ports:

ProviderDefault port
PostgreSQL5432
MySQL3306
MariaDB3306
SQL Server1433
Oracle1521
Firebird3050
DB2 (LUW)50000
DB2 (iSeries)446
Clickhouse8123
Apache Kyuubi10009
OtherThe port of your database

If your relational database is not in the list, select Other and enter the port, the database name, and the rest of the information. The database appears with a generic icon in the User Portal.

note

PAM supports relational SQL databases only. Non-relational databases are not supported.

General card of the Add Database form

Session Control​

Session Control is at the bottom of the General card. Its main option is DB Shield, which you can turn on or off for each database.

  • With DB Shield off, the session runs in the browser of the user. PAM records only the queries that the user runs.
  • With DB Shield on, the session is isolated. It runs in a virtual browser inside the Jump Server, and PAM streams it as images to the user. For the user, it looks like a normal database session.

With DB Shield off, PAM cannot record video or apply the controls below. They are available only with DB Shield on.

OptionWhat it does
Record videoRecords the session. Recordings appear in Session History.
Disable clipboardPrevents users from copying data to and from the database session.
Disable file transferPrevents users from uploading and downloading files during the database session.
Allow DevTools (F12)Allows users to open the browser DevTools during the session. Use with caution in production.
Image Quality, Compression Level, and Color DepthAdjust how the isolated session is streamed to the user.
Swap Red/Blue Channels (Color Correction)Corrects the colors when the remote display shows red and blue swapped.
Force Lossless EncodingUses lossless encoding for the maximum visual quality, with higher bandwidth.

Session Control options including DB Shield

Database Credentials​

Select the credentials that users can use to authenticate to the database. Click Add to link an existing privileged credential or to create a new one without leaving the form. A database can have more than one credential.

Database Access​

Add the User Groups and Users that can connect to this database through the User Portal. Members of a group inherit the access of the group. This card controls access to the database only. The credentials they can use are set in the next card.

Database Access card

Database Credential Access​

This card lists the User Groups and Users added in Database Access. For each one, click Manage Permissions and choose, for every credential of the database, one or both of these permissions:

  • Connect: the user can connect to the database with the credential.
  • View Secret: the user can see the secret of the credential.

Database Credential Access card

Database Managers​

Admins with the Administrator with Billing role can manage all resources in PAM. Other Admins can see and edit this database only if they are listed here, directly in the Admins tab or through a Resource Manager in the Resource Managers tab. If an Admin is not listed, the database does not appear in the list of databases for that Admin.

note

Database Managers is for Admins, not for Users.

Blocking Rules​

Blocking rules control the commands and queries that users can run in the database session. This card is optional. Click Add to link a rule that already exists or to create a new one without leaving the form. The table shows the name, the priority, and the severity of each linked rule. To learn how to create rules, see Configure Database Blocking Rules.

Blocking Rules card

Rule Exceptions​

The Users and User Groups listed here are exempt from the blocking rules of this database. For example, if a rule blocks the DELETE command, add a group here so that its members can still run it.

Rule Exceptions card

Editing a Database​

  1. Go to Access > PAM > Privileged Resources > Databases.
  2. Click the name of the database.
  3. Change the cards you need, then save the database.

Only Admins with the Administrator with Billing role and Admins listed in Database Managers can edit a database.

Was this information helpful?