def METHOD_NAME(region, iam_role):
    """Register a IAM role to be used for the CLI commands in a given region."""
    global cli_credentials
    logging.info("Configuring CLI IAM role %s for region %s", iam_role, region)
    cli_credentials[region] = iam_role