def METHOD_NAME(provider, provider_json_file):
    """
    From terraform provider file identify the credentials and return it
    Args:
        provider (str): Provider name of terraform
        provider_json_file (path): Json Provider file abs path
    Returns:
        aws_details (dict): Terrafrom AWS provider details
    """
    if provider == "aws":  # TODO- write now we are supporting AWS only
        with open(provider_json_file, 'r') as jsonfile:
            aws_provider = json.load(jsonfile)
        return aws_provider['provider']['aws']