QuestionQ67

VerifiedPenetration Testing in Cloud

William O’Neil is a cloud security engineer at an IT company in Tampa, Florida. To create an access key using normal user accounts, he wants to test whether privileges can be escalated to gain AWS administrator-account access. Which command should William use to create a new user access key ID and secret key for a user?

Explanation

The AWS CLI IAM create-access-key operation creates an access key ID and secret access key for an IAM user, and the intended user is specified with the --user-name parameter. The command syntax is aws iam create-access-key --user-name target_user.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!