Australia, an important ally of the United States, has agreed to share some of its intelligence with Iran.