Skip to main content

Track a repository

The first step in adding Cyral to a data repository is to create an entry for it in Cyral's inventory.

  1. In the Cyral management console, navigate to the Data Repositories tab and click the plus button.

  2. In the pop-up dialog, specify the following:

    • type is the sort of repository you're connecting, such as PostgreSQL or Snowflake
    • hostname is the address or hostname where the actual repository is deployed. This is the address at which Cyral connects to the repository, and we refer to it as the data repository endpoint. Later, when you assign this repository to its sidecar, you will establish a separate user-facing address, the sidecar load balancer address. Data users connect to the repository through the sidecar load balancer address.


      • Snowflake: There are two common formats for the Snowflake repository hostname: [account_number] and [account_number].[region], where region is the AWS region where your Snowflake instance runs.
    • port is the port number at which Cyral connects to the repository. This is not necessarily the port number that data users will specify when they connect to the repository. You'll set the user-facing port later, when you assign this repository to its sidecar.
    • name is a name you choose to represent this repository in Cyral. Data users can find the repository using this name. Your administrators will use this name in policies, and it will appear in logs and other controls.
    • For MongoDB repos only, the Replica Sets panel gives you the choice of protecting single MongDB node or a MongoDB cluster:
      • To protect a single MongoDB node, leave the checkbox unchecked.
      • To protect a MongoDB cluster, check the This repository is a replica set checkbox and see Track a MongoDB cluster or node.
  3. Click Track.

In the example shown here, we're adding a MySQL database and naming it patients-prod.

Next steps#