[jboss-jira] [JBoss JIRA] (WFCORE-2935) Wildfly Elytron Tool, PowerShell elytron-tool.ps1 script doesn't work with arguments.

Hynek Švábek (JIRA) issues at jboss.org
Thu Jun 8 07:28:00 EDT 2017


Hynek Švábek created WFCORE-2935:
------------------------------------

             Summary: Wildfly Elytron Tool, PowerShell elytron-tool.ps1 script doesn't work with arguments.
                 Key: WFCORE-2935
                 URL: https://issues.jboss.org/browse/WFCORE-2935
             Project: WildFly Core
          Issue Type: Bug
          Components: Security
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse
            Priority: Critical


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]
{code}
& $JAVA -jar $JBOSS_HOME'\bin\wildfly-elytron-tool.jar' $JAVA_OPTS $args
{code}
it works.

*How to reproduce*
{code}
 PowerShell -ExecutionPolicy Bypass -File elytron-tool.ps1 credential-store --add secret_alias --password pass123 --create -x secret_password -l testBasicWildflyElytronTool.jceks 
{code}
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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list