How do I organize LOCAL-DEV, TEST, and PRODUCTION environments?

My understanding of this isssue is that App Services has environments and each environment has values and secrets and can point to its own Atlas cluster in linked data sources.
So for instance an application might have something like this.

Development(environment in App Services)

  1. Development secrets and values
  2. Will use a specific development database cluster in linked sources.
  3. Users and data are specific to the development environment and stored in the development cluster.

Staging(environment in App Services)

  1. Staging secrets and values
  2. Will use a specific staging database cluster in linked sources.
  3. Users and data are specific to the staging environment and stored in the staging cluster

Production(environment in App Services)

  1. Production secrets and values
  2. Will use a specific production database cluster in linked sources.
  3. Users and data are specific to the production environment and stored in the production cluster.

Then changes to the app configuration can be moved to each environment during the development process. For instance following the guide above. Can someone confirm this?