So I'm running into something I was hoping could be clarified. When using the python-repos.indexes property I've got the url set to https://%(env.ARTIFACTORY_USERNAME)s:%(env.ARTIFACTORY_TOKEN)s@myprivateserver.com. What I'm seeings is that when I run pants generate-lockfiles, the env vars for that URL are available via the
ps
command. Is there a way to hide those credentials in the
pex
command that creates the lockfiles?
b
broad-processor-92400
10/21/2023, 3:02 AM
Do you know how this is secured when using plain pip directly?
broad-processor-92400
10/21/2023, 11:18 AM
(Background: pex is, in most ways, a wrapper around pip, so knowing how pip would solve it for you will likely hint at how to get pex to.)