How do you handle secrets in pipelines (Azure Key Vault integration)?
Short answer: How do you handle secrets in pipelines (Azure Key Vault integration)? Answer: You never store passwords directly in YAML — instead, use Azure Key Vault or variable groups linked to Key Vault. Example: Create a Key Vault in Azure. Add secrets like SqlPassword. In pipeline, add Key Vault as a variable group. YAML: variables: group: MyKeyVaultVariables Secrets are pulled securely during build and never exposed in logs.
Real-world example (ShopNest)
ShopNest’s YAML pipeline builds on every PR, runs unit tests, then deploys to a staging slot on main-branch merges.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png