It doesn’t work because rotation is a 1-dimensional property and you’re trying to stuff an array in there (which will work for positon and scale). Change your last two lines to something like this and it should work:
valeurRotation.setValueAtTime(0,100);
valeurRotation.setValueAtTime(2,200);
Dan