CmdID / aws / aws codeartifact
aws codeartifact login
Sets up the idiomatic tool for your package format to use your CodeArtifact repository. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--domain-ownerThe AWS account ID that owns your CodeArtifact domain--domainYour CodeArtifact domain name--dry-runOnly print the commands that would be executed to connect your tool with your repository without making any changes to your configuration.--duration-secondsThe time, in seconds, that the login information is valid--endpoint-typeThe type of endpoint you want the tool to interact with--namespaceAssociates a namespace with your repository tool--repositoryYour CodeArtifact repository name--toolThe tool you want to connect with your repository