2023-10-26 09:25:31 +01:00
# aws codeartifact
2024-02-14 18:59:56 +00:00
> 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.
2023-10-26 09:25:31 +01:00
> 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`
2024-02-14 18:59:56 +00:00
- Generate credentials for a specific package manager:
2023-10-26 09:25:31 +01:00
2024-02-14 18:59:56 +00:00
`aws codeartifact login --tool {{npm|pip|twine}} --domain {{your_domain}} --repository {{repository_name}}`
2023-10-26 09:25:31 +01:00
- 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}}`
2024-02-14 18:59:56 +00:00
- Display help:
2023-10-26 09:25:31 +01:00
`aws codeartifact help`
2024-02-14 18:59:56 +00:00
- Display help for a specific subcommand:
2023-10-26 09:25:31 +01:00
2024-02-14 18:59:56 +00:00
`aws codeartifact {{subcommand}} help`