{"id":15444524,"url":"https://github.com/cariad/wev-awscodeartifact","last_synced_at":"2026-01-29T00:08:42.691Z","repository":{"id":54869310,"uuid":"330372721","full_name":"cariad/wev-awscodeartifact","owner":"cariad","description":"A wev plugin to support Amazon Web Services CodeArtifact authorisation on the command line","archived":false,"fork":false,"pushed_at":"2021-01-23T19:50:16.000Z","size":28,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T04:53:54.905Z","etag":null,"topics":["amazon-web-services","codeartifact"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cariad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"cariad"}},"created_at":"2021-01-17T11:15:11.000Z","updated_at":"2022-02-17T09:32:04.000Z","dependencies_parsed_at":"2022-08-14T05:10:57.443Z","dependency_job_id":null,"html_url":"https://github.com/cariad/wev-awscodeartifact","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cariad/wev-awscodeartifact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cariad%2Fwev-awscodeartifact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cariad%2Fwev-awscodeartifact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cariad%2Fwev-awscodeartifact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cariad%2Fwev-awscodeartifact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cariad","download_url":"https://codeload.github.com/cariad/wev-awscodeartifact/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cariad%2Fwev-awscodeartifact/sbom","scorecard":{"id":265765,"data":{"date":"2025-08-11","repo":{"name":"github.com/cariad/wev-awscodeartifact","commit":"56c65f6dc1410d3e7bcea6c32c0ea9974d4c2d96"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:136: update your workflow using https://app.stepsecurity.io/secureworkflow/cariad/wev-awscodeartifact/ci.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:63","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:64","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:75","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:76","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.0.0 not signed: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36700746","Warn: release artifact 1.0.0a5 not signed: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36545710","Warn: release artifact 1.0.0a2 not signed: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36543990","Warn: release artifact 1.0.0 does not have provenance: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36700746","Warn: release artifact 1.0.0a5 does not have provenance: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36545710","Warn: release artifact 1.0.0a2 does not have provenance: https://api.github.com/repos/cariad/wev-awscodeartifact/releases/36543990"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2021-59 / GHSA-5phf-pp7p-vc2r","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T11:58:39.421Z","repository_id":54869310,"created_at":"2025-08-17T11:58:39.436Z","updated_at":"2025-08-17T11:58:39.436Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28857038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-web-services","codeartifact"],"created_at":"2024-10-01T19:41:35.849Z","updated_at":"2026-01-29T00:08:42.677Z","avatar_url":"https://github.com/cariad.png","language":"Python","funding_links":["https://github.com/sponsors/cariad"],"categories":[],"sub_categories":[],"readme":"# wev-awscodeartifact:\u003cbr /\u003eA wev plugin to support Amazon Web Services CodeArtifact authorisation on the command line\n\n[![codecov](https://codecov.io/gh/cariad/wev-awscodeartifact/branch/main/graph/badge.svg?token=D48XKZJXJ7)](https://codecov.io/gh/cariad/wev-awscodeartifact)\n\n- ⚙️ Plugin for **[wev](https://github.com/cariad/wev)** (**w**ith **e**nvironment **v**ariables).\n- 📋 **Requests** and **caches** CodeArtifact authorisation tokens.\n- 👩🏼‍💻 **Great for freelancers** working with multiple clients hosting CodeArtifact repositories.\n\n[![asciicast](https://asciinema.org/a/386503.svg)](https://asciinema.org/a/386503)\n\n## 🔥 The Problem\n\nSay your `Pipfile` is configured to pull packages from a private Amazon Web Services CodeArtifact repository:\n\n```text\n[[source]]\nname = \"private\"\nurl = \"https://aws:$CODEARTIFACT_AUTH_TOKEN@corp-012345678901.d.codeartifact.eu-west-1.amazonaws.com/pypi/pypi-mirror/simple/\"\nverify_ssl = true\n\n[packages]\ntupper = \"*\"\n\n[requires]\npython = \"3.9\"\n```\n\nYour `Pipfile` expects the `CODEARTIFACT_AUTH_TOKEN` environment variable to be set to your authorisation token.\n\n`wev-awscodeartifact` extends [wev](https://github.com/cariad/wev) to handle your CodeArtifact authorisation token for you.\n\n## 🎁 Installation\n\n`wev-awscodeartifact` requires Python 3.8 or later and [wev](https://github.com/cariad/wev).\n\n`wev` and `wev` plugins are usually happy to run within virtual environments, but that's tricky if your project's `Pipfile` has _only_ private sources that require a token. `wev-awscodeartifact` cannot generate a token before it's installed.\n\nI recommend installing `wev` and `wev-awscodeartifact` globally, _outside_ of your virtual environment.\n\n```bash\npython -m pip install wev\npython -m pip install wev-awscodeartifact\n```\n\n## ⚙️ Configuration\n\n### Filename and location\n\nSee [wevcli.app/configuration](https://wevcli.app/configuration) for a detailed guide to `wev` configuration files.\n\nIf in doubt, create your configuration file as `wev.yml` in your project directory.\n\n### Properties\n\n| Property | Required | Description                                 | Default                  |\n|----------|----------|---------------------------------------------|--------------------------|\n| account  |          | AWS account ID                              | _Your profile's account_ |\n| domain   | ✔️        | CodeArtifact domain name\u003csup\u003e1\u003c/sup\u003e        |                          |\n| profile  |          | AWS named profile to use for authentication | _Your default profile_   |\n| region   |          | AWS region hosting the CodeArtifact domain  | _Your profile's region_  |\n\n\u003csup\u003e1\u003c/sup\u003e The CodeArtifact domain is _not_ the same as the repository's domain name. Given the domain name `corp-000000000000.d.codeartifact.eu-west-1.amazonaws.com`, the CodeArtifact domain is `corp`.\n\n### Examples\n\n#### Minimal configuration\n\n```yaml\nCODEARTIFACT_AUTH_TOKEN:\n  plugin:\n    id: wev-awscodeartifact\n    domain: corp\n```\n\n#### Team + personal configuration\n\nYou probably don't want to add the `profile` property to `.wev.yml` if you plan to commit and share it with your team mates. Profile names are personal, and you don't want to force everyone to use the same as you.\n\nIf you _do_ need to set `profile`, I suggest you create it in `.wev.user.yml` (which should not be shared) and let `wev` merge it in.\n\nFor example:\n\n```yaml\n# .wev.yml\nCODEARTIFACT_AUTH_TOKEN:\n  plugin:\n    id: wev-awscodeartifact\n    account: \"012345678901\"\n    domain: corp\n    region: eu-west-1\n```\n\n```yaml\n# .wev.user.yml\nCODEARTIFACT_AUTH_TOKEN:\n  plugin:\n    profile: work\n```\n\n## 💻 Usage\n\nRun `wev` with any command that requires a CodeArtifact authorisation token.\n\nFor example, to run `pipenv install` with a CodeArtifact authorisation token:\n\n```bash\nwev pipenv install\n```\n\nMore examples:\n\n- [Amazon Web Services CodeArtifact authorisation token](https://wevcli.app/examples/aws-codeartifact/) on [wevcli.app](https://wevcli.app).\n\n## 🙋‍♀️ FAQs\n\n### Can I change the environment variable from CODEARTIFACT_AUTH_TOKEN?\n\nYes! Call it anything you like.\n\n### Does wev-awscodeartifact work with other package managers?\n\nYes! `wev-awscodeartifact` will work with _any_ command line tool that needs CodeArtifact authorisation tokens in environment variables.\n\n## 🎉 Thank you!\n\nMy name is **Cariad**, and I'm an [independent freelance DevOps engineer](https://cariad.me).\n\nI'd love to spend more time working on projects like this, but--as a freelancer--my income is sporadic and I need to chase gigs that pay the rent.\n\nIf this project has value to you, please consider [☕️ sponsoring](https://github.com/sponsors/cariad) me. Sponsorships grant me time to work on _your_ wants rather than _someone else's_.\n\nThank you! ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcariad%2Fwev-awscodeartifact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcariad%2Fwev-awscodeartifact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcariad%2Fwev-awscodeartifact/lists"}