#22172 Credential helpers
Issue created by
chrispyduck
Is your feature request related to a problem? Please describe.
I would like to configure a private PyPi repository which requires short-lived credentials (AWS CodeArtifact), and I don't want my users to have to manage their credentials manually by setting environment variables.
Describe the solution you'd like
I'd like some sort of credential helper framework, similar to docker's credential helpers, which pants could use to fetch credentials automatically as needed. With this, I can write and configure a credential helper for AWS CodeArtifact that would handle authentication automatically for my users.
Describe alternatives you've considered
• Writing a pants plugin dedicated to this purpose.
• Wrapping
pants
in another CLI that handles authentication and sets the required environment variable, but this isn't seamless to the users.
Additional context
This is coming from a
Slack thread with
@tgolsson, who has a
draft plugin that would provide similar functionality.
pantsbuild/pants