Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2995

Reactive ConnectionPool does not refresh credentials when using Credential Provider

XMLWordPrintable

      We are implementing a reactive, quarkus application using the Postgres database with credentials from the Vault. In addition, we are trying to use the Credentials Provider model(https://quarkus.io/guides/credentials-provider) to fetch the credentials from Vault.  

      We noticed the reactive pool implementation gets the database credentials from the credential provider at the startup and uses the cached version through the application lifecycle. The connection pool does not use the rotated credentials when creating a new connection causing the application to fail.

       

              rhn-engineering-tsegismo Thomas Segismont
              rh-ee-sekumar Senthil Palaniswamy
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: