Skip to main content

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

Release files for poetry-codeartifact-login 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-codeartifact-login 0.3.0
File Size Uploaded
poetry_codeartifact_login-0.3.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-codeartifact-login 0.3.0
File Interpreter ABI Platform
poetry_codeartifact_login-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / poetry_codeartifact_login-0.3.0.tar.gz

Download URL poetry_codeartifact_login-0.3.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7776746b2f7ee4727432cb50f8aa66b0d5d54f3de5a775dfa58ae0656c9828f7
BLAKE2b-256 checksum
How to use checksums
6aa9e8c50c20841b6998acd10f33b383153eaad70d9fd67808452c0dc94ef898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.4 Darwin/24.4.0

Release files / poetry_codeartifact_login-0.3.0-py3-none-any.whl

Download URL poetry_codeartifact_login-0.3.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6f31887c0d990bf4ed7980c6c0637ce087e799e50b0e7474165d1f57361a918
BLAKE2b-256 checksum
How to use checksums
8197a9c364d10534997286c21aa54b47e2d441f5b1b335bcc876571e80fd3bf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.4 Darwin/24.4.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page