def write_aws_credentials(aws_credentials, credentials_file):
    """
    Write the AWS credentials config to file as an ini file
    """
    with open(credentials_file, 'w') as aws_credentials_file:
        aws_credentials.write(aws_credentials_file)
        print('Written credentials out to {}'.format(credentials_file))
    return True