mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
31 lines
1014 B
Plaintext
31 lines
1014 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# aws codeartifact
|
|
|
|
> Manage CodeArtifact repositories, domains, packages, package versions, and assets.
|
|
> CodeArtifact is an artifact repository compatible with popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM.
|
|
> More information: <https://docs.aws.amazon.com/cli/latest/reference/codeartifact/>.
|
|
|
|
- List available domains for your AWS account:
|
|
|
|
`aws codeartifact list-domains`
|
|
|
|
- Generate credentials for a specific package manager:
|
|
|
|
`aws codeartifact login --tool {{npm|pip|twine}} --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}}`
|
|
|
|
- Display help:
|
|
|
|
`aws codeartifact help`
|
|
|
|
- Display help for a specific subcommand:
|
|
|
|
`aws codeartifact {{subcommand}} help`
|