## zowe › profiles › create › mq-profile

An MQREST profile is required to issue commands in the MQ command group that interacts with MQSC. The mq profile contains your host, port, user name, and password for the IBM MQ System Console interface

Warning: This command has been deprecated.
Recommended replacement: The 'config init' command

#### Usage

zowe profiles create mq-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specifies the name of the new mq profile. You can load this profile by using the name on commands that support the "--mq-profile" option.

#### MQ Connection Options

- `--host` | `-H` (string)

  - The host name used to access the IBM MQ REST API. This might be the host name of the IBM MQ mqweb server, or the Zowe API Mediation Layer..

- `--port` | `-P` (number)

  - The port number used to access the IBM MQ REST API. This might be the port number of the IBM MQ mqweb server, or the Zowe API Mediation Layer.

- `--user` | `-u` (string)

  - The mainframe (MQ) user name, which can be the same as your TSO login.

- `--password` | `--pass` | `--pw` (string)

  - The mainframe (MQ) password, which can be the same as your TSO password.

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default value: false

- `--protocol` (string)

  - Specifies the MQ protocol (http or https).

    Default value: http
    Allowed values: http, https

#### Options

- `--overwrite` | `--ow` (boolean)

  - Overwrite the mq profile when a profile of the same name exists.

- `--disable-defaults` | `--dd` (boolean)

  - Disable populating profile values of undefined properties with default values.

#### Examples

- Create an MQ profile named 'mqprofile' to connect to MQ at host zos123 and port 1234:

  - `zowe profiles create mq-profile mq --host mq123 --port 1234 --user ibmuser --password myp4ss`