The deal follows similar agreements the US has reached with allies including the European Union.