1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 08:22:08 +02:00
tldr/pages/common/aws-codeartifact.md
Vitor Henrique 61405c6e0e
pages*: fix small typos (#11850)
* pages*: fix small typos

* pages/*: make help and version commands consistent

* pages/*: follow "path/to/file" pattern

* nop: generic display help wording
2023-12-27 12:11:30 +05:30

934 B

aws codeartifact

CLI for AWS CodeArtifact. CodeArtifact allows you to store artifacts using popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM. More information: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codeartifact/index.html.

  • List available domains for your AWS account:

aws codeartifact list-domains

  • Generate credentials for a specific package manager (e.g.: npm, pip):

aws codeartifact login --tool {{package_manager}} --domain {{your_domain}} --repository {{repository_name}}

  • Get the endpoint URL of a CodeArtifact repository:

aws codeartifact get-repository-endpoint --domain {{your_domain}} --repository {{repository_name}} --format {{npm|pypi|maven|nuget|generic}}

  • Show list of all available CodeArtifact commands:

aws codeartifact help

  • Display help for specific EC2 subcommand:

aws ec2 {{subcommand}} help