Store datasource / database password in Elytron credential-store in JBoss EAP 8 / 7.1+

Solution Verified - Updated -

Issue

  • Secure datasource password in Elytron credential-store
  • The below error is seen during connection test

    15:46:32,801 ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-3) Error during the deployment of java:jboss/datasources/ExampleDS: java.lang.IllegalStateException: WFLYJCA0110: CredentialSourceSupplier is invalid for DSSecurity
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8.x
    • 7.1+
  • Java Database Connectivity (JDBC) Datasources
  • Clear text passwords
  • Elytron Security
  • Elytron Credential Stores

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content