View connection information of SA Operations REST Server that would be used by any other CLI command.
In case you have connection problems with any other CLI command - you can use this command instead
to check the connection options as resulting combination from base profile, sa profile and command line
parameters that are being used to connect the SA Operations Server.
Following Success Message can be created by this command:
SACLI012500 - Connected SA Operations API REST Server: {Server} on Port: {Port}
Usage
zowe system-automation view connection [options]
Options
Profile Options
Base Connection Options
-
--host
| -H
(string)
- Host name of service on the mainframe.
-
--port
| -P
(number)
- Port number of service on the mainframe.
-
--user
| -u
(string)
- User name to authenticate to service on the mainframe.
-
--password
| --pass
| --pw
(string)
- Password to authenticate to service on the mainframe.
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples