Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1088

CS tool, Redirection (<, <<) do not work in wildfly-elytron-tool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.1.0.Beta42
    • None
    • Credential Store
    • None
    • Hide

      When I omit "--secret" option there is shown prompt and I must be able to redirect inputs. Same for omited "--password" option.

      java -jar  wildfly-elytron-tool.jar credential-store --add secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks << EOF
      > test
      > test
      > EOF
      Cannot start user prompt, console is missing.
      

      Similarly with "<"

      Show
      When I omit "--secret" option there is shown prompt and I must be able to redirect inputs. Same for omited "--password" option. java -jar wildfly-elytron-tool.jar credential-store --add secret_alias --password pass123 --uri "cr-store: //test1.jceks?modifiable= true ;create= true ;keyStoreType=JCEKS" -l test1.jceks << EOF > test > test > EOF Cannot start user prompt, console is missing. Similarly with "<"

      Redirection (<, <<) do not work in wildfly-elytron-tool.

      It must work as is expected.

      Customers use redirection of input in CLI, here are some old customer cases

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

                Created:
                Updated:
                Resolved: