LinuxCommandLibrary

aws-codeartifact

CLI for AWS CodeArtifact.

TLDR

List available domains for your AWS account

$ aws codeartifact list-domains
copy


Generate credentials for a specific package manager
$ aws codeartifact login --tool [npm|pip|twine] --domain [your_domain] --repository [repository_name]
copy


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]
copy


Display help
$ aws codeartifact help
copy


Display help for a specific subcommand
$ aws codeartifact [subcommand] help
copy

Copied to clipboard