Poetry AWS CodeArtifact Login
A Poetry plugin for authenticating with AWS CodeArtifact.
Requirements
-
poetry >= 1.2.0Install using the dedicated installation script. See here. -
AWS CLI v2See 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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetry_codeartifact_login-0.3.0.tar.gz | 3.7 kB | Without provenance | Details for poetry_codeartifact_login-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_codeartifact_login-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_codeartifact_login-0.3.0-py3-none-any.whl |
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
|
Security for poetry-codeartifact-login 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.