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 (e.g.: npm, pip)
$ aws codeartifact login --tool [package_manager] --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


Show list of all available CodeArtifact commands
$ aws codeartifact help
copy


Show help for specific EC2 subcommand
$ aws ec2 [subcommand] help
copy

Copied to clipboard