Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11429

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER2
    • 7.1.0.DR19
    • Security
    • None

      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

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

              Created:
              Updated:
              Resolved: