How to store locally Nexus credentials?

Hello,

I need CMake download artefacts on a Nexus server, but I don’t want to provide any L/P. I’d like the access be locally granted by credentials stored by the client PC wishing download the artefact. Because I don’t want a L/P in my versionned CMake files.

When I use Git, I enter once my L/P, and they’re stored locally in my Windows Credential Manager. Afterwards, I don’t have to enter them again. How to do that with Nexus ?

Thanks.