Skip to content
AWSProSimulated

Secrets Manager: credentials out of code, with just-enough access

Create a secret, enable rotation and restrict the app’s policy to that single secret.

The problem

IAM user billing-app exists with policy BillingAppSecrets (secretsmanager:* on *), plus another team’s secret prod/hr/db. IAM is evaluated by a JG Labs educational engine.

Mission

billing-app (fictional) can read EVERY secret in the account, HR ones included. Store its credential in Secrets Manager and let it read only its own.

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

What you will learn

  • Secrets out of code
  • Rotation
  • Resource-scoped IAM policies

Specialty and certification

AWS · CLF-C02, SCS-C03

Official objectives it practices (3)
  • CLF-C02: AWS access management capabilities
  • CLF-C02: Components and resources for security
  • SCS-C03: Design and implement controls to protect confidential data, credentials, secrets, and key material

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