What function decrypts a secure property within a Mule app? Use the example of the tls.keystore.keyPassword property.

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

What function decrypts a secure property within a Mule app? Use the example of the tls.keystore.keyPassword property.

Explanation:
Secure properties are accessed with the secure property placeholder, which decrypts values at runtime. When a property like tls.keystore.keyPassword is stored as a secure property, you retrieve it using ${secure::tls.keystore.keyPassword}. The double colon signals that this is a secure property and Mule will decrypt it using the configured keystore without exposing the plain value in your app. This is why the correct form is the secure property placeholder. Other forms attempt to call a decrypt function or use an encrypted prefix, which aren’t how secure properties are resolved in this context; they won’t provide the decrypted password in the runtime configuration.

Secure properties are accessed with the secure property placeholder, which decrypts values at runtime. When a property like tls.keystore.keyPassword is stored as a secure property, you retrieve it using ${secure::tls.keystore.keyPassword}. The double colon signals that this is a secure property and Mule will decrypt it using the configured keystore without exposing the plain value in your app.

This is why the correct form is the secure property placeholder. Other forms attempt to call a decrypt function or use an encrypted prefix, which aren’t how secure properties are resolved in this context; they won’t provide the decrypted password in the runtime configuration.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy