< All Hands-On Labs

Free Hands-On Lab

Generate IAM Credentials Reports

Learn how to generate an IAM Credentials Report, which is a built-in AWS tool that provides information about users and user authentication in an AWS account. The report lists all users, their creation dates, and details about their authentication methods including passwords, access keys, and MFA devices, along with timestamps of when these credentials were last used. While reviewing the report, consider what specific security recommendations you would make based on your findings. This lab environment provides AWS Console, CLI, and CloudShell access.

Free hands-on lab

Launch this lab with a free account

Build practical, real-world skills in a cloud environment.

Create Free Account Already a member? Log in

  • Real cloud environments, not simulations
  • One click to deploy, nothing to install
  • We cover the cloud costs and risks so you can focus on learning

12 comments

Comments are currently read-only while we migrate to our new platform. In the meantime, ask questions in Discord.

  1. RJ

    loving the training

    1. Christophe

      Instructor

      ❤️

  2. amarnathnachimuthu

    good one and tried the lab as well.

  3. ahmedinfosecusa

    great explanation

    1. Christophe

      Instructor

      Thanks for the feedback!

  4. cybamole

    Great Lab, though I get getting this error on the very last step cls
    $ aws iam get-credential-report –output text –query Content | base64 -d | awk -F,
    Usage: awk [POSIX or GNU style options] -f progfile [–] file …
    Usage: awk [POSIX or GNU style options] [–] ‘program’ file …
    [… full gawk usage/options output trimmed by moderator …]

    An error occurred (InvalidClientTokenId) when calling the GetCredentialReport operation: The security token included in the request is invalid.

    1. Christophe

      Instructor

      Make sure you include the entire command since it’s multi-line (you need to include all the PRINT lines and brackets as part of your command). I’ll make that a bit more clear in the write-up as well!

  5. kumailr7

    Amazing lab and loved the lab walkthrough video

    1. Christophe

      Instructor

      Love to hear it! Thanks for the feedback

  6. oswaldo-vh

    muy buen entrenamiento

    1. Christophe

      Instructor

      Gracias!

  7. joelverbel

    Excelente entrenamiento fácil de entender.