How to use encrypted password inside the resource-adapter subsystem in EAP6 ?

Solution Unverified - Updated -

Issue

  • While trying to connect to ActiveMQ using the "activemq-rar-5.8.0.redhat-60024.rar" is it possible to use the encrypted "Password" for the following "config-property":
        <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
            <resource-adapters>
                <resource-adapter id="activemq-rar-5.8.0.redhat-60024.rar">
                    <archive>
                        activemq-rar-5.8.0.redhat-60024.rar
                    </archive>
                    <transaction-support>LocalTransaction</transaction-support>
                    <config-property name="Password">
                        admin
                    </config-property>
                    <config-property name="UserName">
                        admin
                    </config-property>
  • How I can use VAULT to encrypt my resource adapter config parameters.

Example: I want to use VAULT strings in place of my password.

   <resource-adapter id="activemq-rar-5.9.0.rar">
                    <archive>
                        activemq-rar-5.9.0.rar
                    </archive>
                    <config-property name="Password">
                        xyz
                    </config-property>
                    <config-property name="UserName">
                        abc
                    </config-property>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.