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

secret-key-credential-store does not make parent directories when being created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 15.0.0.Final
    • Security
    • None
    • Undefined

      secret-key-credential-store does not make parent directories when being created, unlike credential-store.

      [standalone@embedded /] /subsystem=elytron/secret-key-credential-store=p:add(path=x/y,create=true)
      {
          "outcome" => "failed",
          "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.security.credential-store.p" => "WFLYELY00004: Unable to start the service.
          Caused by: org.wildfly.security.credential.store.CredentialStoreException: ELY09513: Unable to flush credential store to storage
          Caused by: java.io.FileNotFoundException: /home/okotek/test/server/x/y (No such file or directory)"}},
          "rolled-back" => true
      }
      
      [standalone@embedded /] /subsystem=elytron/credential-store=p:add(location=x/y,create=true,credential-reference={clear-text=p})
      {"outcome" => "success"}
      

              parsharm Parul Sharma
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: