Show JFrog CLI server configurations
jf config show prints the server entries stored in your local JFrog CLI configuration. Without arguments it lists every configured server; with a server ID it prints one server’s settings (with secrets masked). Use it to confirm IDs, defaults, and URLs before running other commands.
This topic covers:
Synopsis
jf config show <server-id>
Aliases: jf c s, jf c show
Where:
<server-id>: Optional. When omitted, the CLI lists all servers. When provided, only that server is shown.
Note
The short alias
jf c sdoes not support a server ID argument due to a known CLI issue. Usejf config show <server-id>orjf c show <server-id>to show a specific server.
Arguments
| Argument | Required | Description |
|---|---|---|
server-id | No | Show only this server's configuration |
Examples
Show All Configurations
To show all configured servers:
-
Run:
jf config show
Show a Specific Server
To show one server’s configuration:
-
Run:
jf config show <server-id>Where:
<server-id>: The ID of the server to display.
For example:
jf config show my-server
Expected Output
When showing all configurations, each server block contains the fields that were set during configuration. A fully-configured server shows all fields:
$ jf config show
Server ID: my-server
JFrog Platform URL: https://acme.jfrog.io/
Artifactory URL: https://acme.jfrog.io/artifactory/
Distribution URL: https://acme.jfrog.io/distribution/
Xray URL: https://acme.jfrog.io/xray/
Mission Control URL: https://acme.jfrog.io/mc/
Pipelines URL: https://acme.jfrog.io/pipelines/
User: admin
Password: ***
Default: true
Servers configured with only basic settings show only the fields that were provided:
Server ID: minimal-server
Default: false
Sensitive fields such as passwords and tokens are always masked as ***.
When showing a specific server, the output includes the same fields for that server only:
$ jf config show my-server
Server ID: my-server
JFrog Platform URL: https://acme.jfrog.io/
Artifactory URL: https://acme.jfrog.io/artifactory/
Distribution URL: https://acme.jfrog.io/distribution/
Xray URL: https://acme.jfrog.io/xray/
Mission Control URL: https://acme.jfrog.io/mc/
Pipelines URL: https://acme.jfrog.io/pipelines/
User: admin
Password: ***
Default: true
If the specified server ID is not found, the CLI exits with an error:
$ jf config show unknown-server
[Error] Server ID 'unknown-server' does not exist.
Tip
Use
jf config showto identify available server IDs, then switch the active server withjf config use <server-id>.
Updated 13 days ago
