HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aws codeartifact — Manage CodeArtifact repositories, domains, packages, package versions, and assets. CodeArtifact is a

Submitted by: @import:tldr-pages··
0
Viewed 0 times
repositoriescommandcodeartifactclimanageaws codeartifactdomainspackages

Problem

How to use the aws codeartifact command: 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/>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/aws codeartifact

Revisions (0)

No revisions yet.