Skip to main content

Poetry plugin for logging in to AWS CodeArtifact.

Project description

Poetry AWS CodeArtifact Login

A Poetry plugin for authenticating with AWS CodeArtifact.

Requirements

  • poetry >= 1.2.0 Install using the dedicated installation script. See here.

  • AWS CLI v2 See here for installation guide.

Intallation

poetry self add poetry-codeartifact-login

Usage

AWS credentials will need to be configured on the system prior to usage. Typically this is done using the aws configure command and/or directly modifying the configuration files. See here for more info. They can also be set through environment variables, which will take precedence over any configuration file values.

Once credentials have been configured, you can log in to CodeArtifact:

poetry aws-login <source_name>

Assuming the credentials are configured properly and the identity they belong to has proper permissions, poetry will be configured with a short-lived authentication token that will automatically be used for installation of any packages in the authenticated source. See here for more information on working with private repositories through poetry.

If want to log in with a profile other than the default, you can do:

poetry aws-login <source_name> --profile <profile_name>

CLI Reference

poetry aws-login --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry-codeartifact-login-0.2.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

poetry_codeartifact_login-0.2.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page