Skip to content

datasource view

dbeaver-devops edited this page Dec 2, 2026 · 2 revisions

Table of contents

Synopsis

dbvr datasource view [-hV] [--project=<projectIdOrName>]
                           <id>

Tip: You can also use global options with this command.

Description

Print the full datasource configuration as stored in data-sources.json.

The output is returned in JSON format and reflects the exact state of the datasource in the active workspace.

Required argument

<id>

Specify the datasource ID or name. The value must match an existing datasource in the active workspace.

Tip: Run datasource list and use the value from the ID or NAME column.

Options

--project

--project=<projectIdOrName>

View the datasource from the specified project. Specify its ID or name.

Tip: Run project list to see available projects.

Example

View the existing datasource named pg-docs in the General project:

dbvr datasource view --project=General pg-docs

Sample output:

{
  "provider": "postgresql",
  "driver": "postgres-jdbc",
  "name": "pg-docs",
  "save-password": true,
  "configuration": {
    "host": "localhost",
    "port": "5432",
    "database": "postgres",
    "configurationType": "MANUAL",
    "type": "dev"
  }
}

Clone this wiki locally