Skip to content
AzureProSimulated

Key Vault: the database password does not belong in code

Create a secure Key Vault, store a secret and give the app read-only access to secrets.

The problem

Resource group rg-payments and the managed identity "app-backend" already exist. The vault uses RBAC for data access.

Mission

The (fictional) payments app keeps the database password in a config file. Move it to Key Vault and let the app read it without over-granting.

4 objectives inside the lab. You meet them as you play: no steps or solutions are shown here.

What you will learn

  • Get secrets out of code
  • Key Vault data roles
  • Purge protection and network

Specialty and certification

Azure · AZ-900

Official objectives it practices (1)
  • AZ-900: Azure identity, access, and security

Aligned with public exam objectives. Not official material and no complete coverage is implied.

What it is and is not

Deterministic JG Labs model: rules and errors based on official documentation. Not the real cloud.

Official documentation