Skip to content
VirtualLP Virtual Learning Platform
Amazon Web Services intermediate

Implement a least-privilege security policy with AWS IAM

Turn a written security policy into IAM controls: groups by job function, users without admin rights, a custom JSON policy scoped to one bucket and programmatic access keys.

What you'll do

  • Apply the principle of least privilege
  • Use groups to manage permissions
  • Write an IAM policy document in JSON
  • Create access keys for programmatic access

Lab tasks

  1. 1 Create user group Auditors with read-only access
  2. 2 Create user audit.priya in the Auditors group
  3. 3 Write a custom policy ReportsBucketReadOnly
  4. 4 Create programmatic user report-bot with only that policy
  5. 5 Create an access key for report-bot