BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
54 / 81 · Module 15 — Deployment and Operations · filtered: interview← prev⊞ allnext →

15.16Don't put deployment credentials in `pom.xml`

Bad:

<username>bob@company.com</username>
<password>SuperSecret123</password>

committed to Git.

Better:

CI secret
       ↓
environment variable
       ↓
Maven property
       ↓
deployment

For example conceptually:

ANYPOINT_CLIENT_ID
ANYPOINT_CLIENT_SECRET

in the CI secret store.