aws-codeartifact
Interact with AWS CodeArtifact repositories
TLDR
List available domains for your AWS account
Generate credentials for a specific package manager
Get the endpoint URL of a CodeArtifact repository
Display help
Display help for a specific subcommand
SYNOPSIS
aws codeartifact
PARAMETERS
help
Show help information.
version
Show the version number.
repository
Specifies the repository to use.
domain
Specifies the domain to use.
domain-owner
Specifies the AWS account ID that owns the domain.
profile
Use a specific profile from your credential file.
region
The region to use.
DESCRIPTION
The `aws codeartifact` command provides a command-line interface to interact with AWS CodeArtifact, a fully managed artifact repository service that allows organizations to securely store and share software packages and dependencies used in their development processes. It enables users to manage repositories, domains, and package assets, simplifying the process of building, testing, and deploying applications. Through this CLI, you can publish, install, and access packages. CodeArtifact supports various package formats, including Maven, npm, PyPI, and NuGet. This CLI simplifies the process of interacting with AWS CodeArtifact services, making it an invaluable tool for software development teams using AWS infrastructure.
CAVEATS
The `aws codeartifact` command requires proper AWS credentials configuration, either through environment variables, IAM roles, or the AWS CLI configuration file. Ensure the user or role has the necessary permissions to interact with CodeArtifact resources.
AUTHENTICATION
Authentication with CodeArtifact:
Requires using the `aws codeartifact get-authorization-token` command.
Example:
`aws codeartifact get-authorization-token --domain my-domain --domain-owner 111122223333 --region us-west-2 --query authorizationToken --output text | base64 --decode`
SUPPORTED PACKAGE FORMATS
CodeArtifact currently supports Maven, npm, PyPI, and NuGet packages.
COMMON COMMANDS
List of most common commands
- put-package-versions
- list-packages
- describe-package-version
- get-package-version-asset
- copy-package-versions
HISTORY
The `aws codeartifact` command was introduced to provide a convenient way to manage and interact with the AWS CodeArtifact service directly from the command line. It has been evolving with new features and commands since the launch of CodeArtifact, adding support for new package types and enhanced functionalities.
SEE ALSO
aws(1), aws-cli(1)