Secrets Off the Env

Replace an env-var password with a read-only file-based secret.

A advanced Docker challenge worth 20 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: Audit finding: the CRM database password is a plain env var — anyone who can docker inspect crm-api reads it. (Try it.)

Tasks: move it to the file-based pattern every orchestrator uses:

Commands to learn: -v file:file:ro, the *_FILE convention, secret hygiene

Run check when done.