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, 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