Automatically retrieve credentials for AWS CodeArtifact.
Project description
AWS CodeArtifact Keyring Backend
The keyrings.codeartifact
package provides authentication for publishing and consuming packages within a private
PyPi repository hosted on AWS CodeArtifact; it contains an extension to the
keyring library that will automatically inject a time-limited access token.
Installation
To install this package, install the "keyrings.codeartifact" package using pip
:
pip install keyrings.codeartifact
Usage
The keyring
library has been integrated with recent versions of pip and twine. Once installed, this library will
automatically supply credentials whenever pip/twine (or other keyring-enabled package) attempts to use a repository
hosted within CodeArtifact. It will use any appropriate AWS credentials provided in ~/.aws/credentials
by default.
--index-url https://${DOMAIN}-${ACCOUNT}.d.codeartifact.${REGION}.amazonaws.com/pypi/${REPOSITORY}/simple/
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
Built Distribution
Hashes for keyrings.codeartifact-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9199f450f9f02e97b17d497dc8d5f8b9b9defc667845ad0e27618b2a9da25f79 |
|
MD5 | 8939dd5d37213a14ab8570b29e99f871 |
|
BLAKE2b-256 | 34379887e3bb1b07adf1c06fffb19020c68aa8bbfc0f86a6eef41fc53b1552a3 |
Hashes for keyrings.codeartifact-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 846df145283aca649df545e7f6613587267fc2d5c7f826d00394811870633040 |
|
MD5 | c3fde247ff50c0c8a85c9c014212a7ad |
|
BLAKE2b-256 | 088e3f7bd6567dbf973bfeedf65abf7b0b6b08988877381a7a2a95799537deac |