[ aws . codeartifact ]

login

Description

Sets up the idiomatic tool for your package format to use your CodeArtifact repository. Your login information is valid for up to 12 hours after which you must login again.

See ‘aws help’ for descriptions of global parameters.

Synopsis

  login
--tool <value>
--domain <value>
[--domain-owner <value>]
[--duration-seconds <value>]
--repository <value>
[--dry-run]

Options

--tool (string) The tool you want to connect with your repository

--domain (string) Your CodeArtifact domain name

--domain-owner (string) The AWS account ID that owns your CodeArtifact domain

--duration-seconds (integer) The time, in seconds, that the login information is valid

--repository (string) Your CodeArtifact repository name

--dry-run (boolean) Only print the commands that would be executed to connect your tool with your repository without making any changes to your configuration

See ‘aws help’ for descriptions of global parameters.