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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for poetry-codeartifact-login-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35bf3f5d3db4aa47e0f946429cd7fb8e6a428ea98f2403f2bf0410c0b7be7dc2 |
|
MD5 | 767936a7e669c4f601fdeb8a0e1fc049 |
|
BLAKE2b-256 | 4a81d55b3196b4611c60a1daab7a1eaeb7581182a7d0825ecc3e9e22d4cb25c6 |
Hashes for poetry_codeartifact_login-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 148ba625a31800cb461bef043bcd4ab5a8aeebb3a179f7447e53495e09ea38ff |
|
MD5 | 277e1ba11c17f6a4da6645aaf76b3e0a |
|
BLAKE2b-256 | b1dfe80cbb8077765923467e45fde6435aa681e4be9ca33c6fe309a034515bc1 |