z/OSMF Profile
Usage
zowe profiles create zosmf-profile <profileName> [options]
Positional Arguments
profileName
(string)
- Specifies the name of the new zosmf profile. You can load this profile by using
the name on commands that support the "--zosmf-profile" option.
Zosmf Connection Options
--host
| -H
(string)
- The z/OSMF server host name.
--port
| -P
(number)
The z/OSMF server port.
Default value: 443
--user
| -u
(string)
- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
--password
| --pass
| --pw
(string)
- Mainframe (z/OSMF) password, which can be the same as your TSO password.
--reject-unauthorized
| --ru
(boolean)
--base-path
| --bp
(string)
- The base path for your API mediation layer instance. Specify this option to
prepend the base path to all z/OSMF resources when making REST requests. Do not
specify this option if you are not using an API mediation layer.
Options
Examples
Create a zosmf profile called 'zos123' to connect to z/OSMF
at host zos123 and port 1443:
zowe profiles create zosmf-profile zos123 --host zos123 --port 1443 --user ibmuser --password myp4ss
Create a zosmf profile called 'zos124' to connect to z/OSMF
at the host zos124 (default port - 443) and allow self-signed certificates:
zowe profiles create zosmf-profile zos124 --host zos124 --user ibmuser --password myp4ss --reject-unauthorized false
Create a zosmf profile called 'zos124' to connect to z/OSMF
at the host zos124 (default port - 443) and allow self-signed certificates:
zowe profiles create zosmf-profile zosAPIML --host zosAPIML --port 2020 --user ibmuser --password myp4ss --reject-unauthorized false --base-path basePath