Creating a configuration profile in Zowe Explorer v3.0.0

Initializing the configuration file

A team configuration profile can be created using Zowe CLI or Zowe Explorer VS Code Extension in the following ways:

Zowe CLI

Run zowe config init --global-config which will prompt for a username and password once the command is issued.

Zowe Explorer VS Code Extension

  1. Click the Zowe icon on the left side bar of your VS Code window.

  2. Click the + symbol in tree view of Zowe Explorer.

  3. Select Create a New Team Configuration File when prompted in the input box shown.

  4. If no workspace is opened a global configuration will be created in your ~/.zowe directory and opened in the VS Code text editor. If a workspace is opened a following prompt will be presented for the user to select global or project level config, a project level config will be created in the top level of the workspace. After selecting the appropriate file, the file will be opened in the text editor.

  5. Add host and port properties to the loaded file after creating the configuration file.

Examples of configuration files

A default team configuration file will look like this upon creation:

{
    "$schema": "./zowe.schema.json",
    "profiles": {
        "zosmf": {
            "type": "zosmf",
            "properties": {
                "port": 443
            },
            "secure": []
        },
        "tso": {
            "type": "tso",
            "properties": {
                "account": "",
                "codePage": "1047",
                "logonProcedure": "IZUFPROC"
            },
            "secure": []
        },
        "ssh": {
            "type": "ssh",
            "properties": {
                "port": 22
            },
            "secure": []
        },
        "base": {
            "type": "base",
            "properties": {
                "host": "examplehost.com",
                "rejectUnauthorized": true
            },
            "secure": [
                "user",
                "password"
            ]
        }
    },
    "defaults": {
        "zosmf": "zosmf",
        "tso": "tso",
        "ssh": "ssh",
        "base": "base"
    },
    "autoStore": true
}

RSE configuration file

A team configuration file using RSE as the default profile will look like this:

{
  "$schema": "./zowe.schema.json",
  "profiles": {
    "rse": {
      "type": "rse",
      "properties": {
        "port": 6803,
        "basePath": "rseapi",
        "protocol": "https"
      },
      "secure": []
    },
    "base": {
      "type": "base",
      "properties": {
        "host": "examplehost.com",
        "rejectUnauthorized": true
      },
      "secure": ["user", "password"]
    }
  },
  "defaults": {
    "rse": "rse",
    "base": "base"
  },
  "autoStore": true
}

For more information on other types of team configuration profiles, view Zowe CLI's documentation on Using team profilesopen in new window with example configurations.

Last Updated:
Contributors: Rudy Leonel Pichola Flores, Billie Simmons, kmaselli