Start here. This is the direct spoken answer to practice first.
Why this question matters
Secret handling is a production safety topic. A pipeline that deploys successfully but leaks secrets is not a good pipeline.
Secrets should not be committed to the repository or written directly into pipeline YAML. Values like database passwords, API keys, signing keys, and provider tokens should come from a secure secret store or protected pipeline variables. For Azure, Key Vault and managed identity are usually better than copying secrets around. Normal configuration can be environment-specific, but sensitive values need access control and auditability.