Cannot set encypted values for PIDs in Fabric

Solution In Progress - Updated -

Issue

Following the Fabric Guide for 6.1, we have tried to encrypt our system passwords as PIDs using the "encrypt-message" command. However, when we try to set these values on a profile, they fail as follows:

JBossFuse:admin@root> fabric:profile-edit --pid com.mycompany.test/myApp.keystore.password=${crypt:3rs6YEtWdx+o20A0TMEjPXQKxCCOHIo0} CamelRoutingProfile
Error executing command: bad substitution: ${crypt:3rs6YEtWdx+o20A0TMEjPXQKxCCOHIo0}
JBossFuse:admin@root>

Can you please clarify how to set these values correctly?

Environment

  • JBoss Fuse
    • 6.1

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