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

The error message from export-secret-key on (secret-key-)credential-store should be more helpful

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • None
    • Security
    • None

      The error message from the export-secret-key operation on the credential-store and secret-key-credential-store resources should be more helpful when exporting invalid alias

      [standalone@localhost:9990 /] /subsystem=elytron/secret-key-credential-store=b:read-aliases
      {
       "outcome" => "success",
       "result" => ["key"]
      }
      
      [standalone@localhost:9990 /] /subsystem=elytron/secret-key-credential-store=b:export-secret-key(alias=key2)
      {
       "outcome" => "failed",
       "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: value is null",
       "rolled-back" => true
      }
      

              darran.lofthouse@redhat.com Darran Lofthouse
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: