Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2935

Wildfly Elytron Tool, PowerShell elytron-tool.ps1 script doesn't work with arguments.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.Beta26
    • None
    • Security
    • None

    Description

      PowerShell elytron-tool.ps1 script doesn't work with arguments.

      When I add $args at the end of line in elytron-tool.ps1 script [1]

      & $JAVA -jar $JBOSS_HOME'\bin\wildfly-elytron-tool.jar' $JAVA_OPTS $args
      

      it works.

      How to reproduce

       PowerShell -ExecutionPolicy Bypass -File elytron-tool.ps1 credential-store --add secret_alias --password pass123 --create -x secret_password -l testBasicWildflyElytronTool.jceks 
      

      There is shown general help output for all commands in tool.

      [1] https://github.com/wildfly/wildfly-core/blob/3.0.0.Beta24/core-feature-pack/src/main/resources/content/bin/elytron-tool.ps1#L14

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: