creamy-jelly-33207
04/30/2026, 3:22 PMmetaflow-nflx-extensions when resolving mixed conda/pypi environments against a private index using embedded credentials.
Unlike pure conda or pypi environments (which strip credentials properly), mixed environments preserve auth tokens from the private index URL and leak them into the datastore URI.
Example:
• Index URL: <https://user:token@private-pypi.example.com/simple/>
• Datastore URI: <gs://some_bucket/backend/conda_env/packages/pypi/user:token@private-pypi.example.com/packages/some_private_package>
I think I've tracked this back to the conda-lock invocation here. Passing the --strip-auth flag might resolve it, assuming that auth isn't explicitly needed downstream. If it is, stripping the credentials during make_partial_cache_url would be a great alternative.
While I can personally work around this using a different auth pattern like .netrc, I’m building tooling for a broader team and need to ensure their credentials stay out of plaintext regardless of their auth method.
Let me know if you need any more details or if I've missed anything!dry-beach-38304
04/30/2026, 4:34 PMcreamy-jelly-33207
04/30/2026, 5:20 PMcreamy-jelly-33207
05/11/2026, 7:53 PMdry-beach-38304
05/11/2026, 10:04 PM