How can this property be referenced to access its value within the application?

A Mule application defines as SSL/TLS keystore properly ‘tis,keystore.keyPassword’’ as secure.

How can this property be referenced to access its value within the application?
A . #{secure::tiskeystore,keyPassowrd}
B . ${secure::tiskeystore,keyPassowrd}
C . ${secure::tiskeystore,keyPassowrd}
D . p{secure::tiskeystore,keyPassowrd}

Answer: B

Explanation:

secure::tiskeystore,keyPassowrdShor : ofCorrectAnswerOnly:Toreferenceasecurepropertyvaluewithin

In this case, the property name is tiskeystore,keyPassword, so the correct syntax is ${secure::tiskeystore,keyPassowrd}.

References: https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-properties#referencing-secure-properties

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments