Quarantine User

Disable console and programmatic access and apply AWSCompromisedKeyQuarantineV2 policy to an IAM user.

Source codePermissions

Current password of the user will be deleted and will not be recoverable.

Access keys are deactivated but not deleted.

Usage

Input

Parameter Description Type Required Default value
user User to quarantine string Yes None
region Region for operation string No Session default
debug Increase log verbosity bool No False
silent Decrease log verbosity bool No False
output Output format
table
string No None
session Established session object No None

Output

This function has no output.

Examples

Quarantine a user:

aaws iam quarantine_user --user acme-user