Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the AWS CodeArtifact login command to support multiple namespaces #8616

Open
2 tasks
DanielMackenzie93 opened this issue Apr 3, 2024 · 2 comments
Open
2 tasks
Labels
codeartifact login customization Issues related to CLI customizations (located in /awscli/customizations) feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@DanielMackenzie93
Copy link

Describe the feature

I propose enhancing the aws codeartifact login command to allow for multiple namespaces to be specified in a single command.
This could be implemented by allowing the --namespace flag to accept a list of namespaces instead of a single value.

Use Case

Currently, the AWS CodeArtifact login command restricts users to specify a single namespace per login attempt.
This limitation requires users to execute multiple login commands, or manually configure other scopes/namespaces when working with projects that depend on packages from multiple private namespaces within the same domain.

Proposed Solution

Example of the proposed command usage:

aws codeartifact login \
    --tool npm \
    --repository my-repository \
    --domain my-domain \
    --namespace @namespace-a,@namespace-b,@namespace-c

Other Information

Related Issues

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

aws-cli/2.15.28

Environment details (OS name and version, etc.)

Sonoma 14.2.1

@DanielMackenzie93 DanielMackenzie93 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 3, 2024
@tim-finnigan tim-finnigan self-assigned this May 7, 2024
@tim-finnigan tim-finnigan added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label May 7, 2024
@tim-finnigan
Copy link
Contributor

Thanks for the feature request. I'll share this with the CodeArtifact team, who owns and maintains this customization. In the meantime we can continue to track the request and gather feedback here.

@tim-finnigan tim-finnigan added codeartifact login customization Issues related to CLI customizations (located in /awscli/customizations) labels May 7, 2024
@tim-finnigan tim-finnigan removed their assignment May 7, 2024
@tim-finnigan tim-finnigan added p3 This is a minor priority issue and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. needs-triage This issue or PR still needs to be triaged. labels May 7, 2024
@amberkushwaha
Copy link

main issue version is also changed in it for the given time period and version.tim finnigan added p3 and removed investigating needs triage labels 2 days ago in the main function and priority settings in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codeartifact login customization Issues related to CLI customizations (located in /awscli/customizations) feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

3 participants