Do property files containing encrypted properties have to have their filename end with '-secure.yaml' or '-secure.properties'?

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

Do property files containing encrypted properties have to have their filename end with '-secure.yaml' or '-secure.properties'?

Explanation:
In MuleSoft, the secure properties feature uses a separate file to hold encrypted values, and using a filename that ends with -secure.yaml or -secure.properties is a strong convention to signal that the file contains encrypted data. This convention helps you and the tooling recognize and handle sensitive values properly, and many templates rely on it for automatic loading and organization. But the runtime does not strictly require the filename to have the -secure suffix. You can configure the application to load encrypted properties from a different file or location as long as the system knows how to decrypt and inject those values. So the -secure naming is best practice for clarity and compatibility, not a hard requirement.

In MuleSoft, the secure properties feature uses a separate file to hold encrypted values, and using a filename that ends with -secure.yaml or -secure.properties is a strong convention to signal that the file contains encrypted data. This convention helps you and the tooling recognize and handle sensitive values properly, and many templates rely on it for automatic loading and organization.

But the runtime does not strictly require the filename to have the -secure suffix. You can configure the application to load encrypted properties from a different file or location as long as the system knows how to decrypt and inject those values. So the -secure naming is best practice for clarity and compatibility, not a hard requirement.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy