Résumé : The core mission of the IceCube neutrino observatory is to study the origin and propagation of cosmic rays. IceCube, with its surface component IceTop, observes multiple signatures to accomplish this mission. Most important are the astrophysical neutrinos that are produced in interactions of cosmic rays, close to their sources and in interstellar space. IceCube is the first instrument that measures the properties of this astrophysical neutrino flux and constrains its origin. In addition, the spectrum, composition, and anisotropy of the local cosmic-ray flux are obtained from measurements of atmospheric muons and showers. Here we provide an overview of recent findings from the analysis of IceCube data, and their implications to our understanding of cosmic rays.