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.3.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

poetry_codeartifact_login-0.3.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file poetry_codeartifact_login-0.3.0.tar.gz.

File metadata

  • Download URL: poetry_codeartifact_login-0.3.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.4 Darwin/24.4.0

File hashes

Hashes for poetry_codeartifact_login-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7776746b2f7ee4727432cb50f8aa66b0d5d54f3de5a775dfa58ae0656c9828f7
MD5 9bab127e693b7e27ab280574eed04dfd
BLAKE2b-256 6aa9e8c50c20841b6998acd10f33b383153eaad70d9fd67808452c0dc94ef898

See more details on using hashes here.

File details

Details for the file poetry_codeartifact_login-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_codeartifact_login-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6f31887c0d990bf4ed7980c6c0637ce087e799e50b0e7474165d1f57361a918
MD5 eababafe8a6601f56a610dec52bab2cc
BLAKE2b-256 8197a9c364d10534997286c21aa54b47e2d441f5b1b335bcc876571e80fd3bf9

See more details on using hashes here.

Supported by

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