Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--base-path not shown as an option for zowe auth login apiml #1772

Closed
adam-wolfe opened this issue Aug 1, 2023 · 1 comment · Fixed by #1734
Closed

--base-path not shown as an option for zowe auth login apiml #1772

adam-wolfe opened this issue Aug 1, 2023 · 1 comment · Fixed by #1734
Labels
bug Something isn't working new The issue wasn't triaged yet

Comments

@adam-wolfe
Copy link
Contributor

Describe the bug

To log into APIML via Zowe CLI, you must specify a base path. The help text for zowe auth login apiml does not list --base-path as an option.

Expected and actual results

The help text should include an entry for the --base-path.

Describe your environment

Additional context

Full help text:

zowe auth login apiml -h

 COMMAND NAME
 ------------

   apiml

 DESCRIPTION
 -----------

   Log in to Zowe API Mediation Layer authentication service and obtain or update a
   token.

   The token provides authentication to services that support the API ML SSO
   (Single Sign-On) capability. When you log in, the token is stored in your
   default base profile until it expires. Base profiles store connection
   information shared by multiple services (e.g., z/OSMF), and are used if you do
   not supply connection information in a service profile. To take advantage of the
   API ML SSO capability, you should omit username and password in service profiles
   so that the token in the base profile is used.

 USAGE
 -----

   zowe auth login apiml [options]

 OPTIONS
 -------

   --show-token | --st (boolean)

      Show the token when login is successful. If specified, does not save the token
      to a profile.

 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)

      Reject self-signed certificates.

      Default value: true

   --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

 PROFILE OPTIONS
 ---------------

   --base-profile | --base-p (string)

      The name of a (base) profile to load for this command execution.

 GLOBAL OPTIONS
 --------------

   --show-inputs-only (boolean)

      Show command inputs and do not run the command

   --response-format-json | --rfj (boolean)

      Produce JSON formatted data from a command

   --help | -h (boolean)

      Display help text

   --help-web | --hw (boolean)

      Display HTML help in browser

 EXAMPLES
 --------

   - Log in to an API ML instance to obtain or update the token
   stored in your base profile:

      $ zowe auth login apiml

   - Log in to an API ML instance to obtain a token without
   storing it in a profile:

      $ zowe auth login apiml --show-token
@adam-wolfe adam-wolfe added bug Something isn't working new The issue wasn't triaged yet labels Aug 1, 2023
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@zFernand0 zFernand0 linked a pull request Aug 1, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new The issue wasn't triaged yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant