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

Ilia Vassilev (JIRA) issues at jboss.org
Wed Jul 5 10:49:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilia Vassilev reassigned WFCORE-2935:
-------------------------------------

    Assignee: Ilia Vassilev  (was: Darran Lofthouse)


> 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: Ilia Vassilev
>            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