The UK and US armed forces will announce a cyber accord.