seqeralabs / tower-cli

Nextflow Tower CLI tool
Apache License 2.0
43 stars 9 forks source link

AWS CodeCommit credentials support #420

Closed JaimeSeqLabs closed 5 months ago

JaimeSeqLabs commented 5 months ago

Description

Closes #387

Adds support for creating/updating/deleting AWS CodeCommit credentials.

Guidelines for testing

Create new CodeCommit credentials:

$> ./tw credentials add codecommit -n CCTest --access-key=<access_key> --secret-key=<secret_key> --base-url=https://git-codecommit.eu-west-1.amazonaws.com

  New CODECOMMIT credentials 'CCTest (3dm8ipcP5manEAxMjAMAip)' added at user workspace

Update CodeCommit credentials:

$> ./tw credentials update codecommit -n CCTest --access-key=<new_access_key> --secret-key=<secret_key>

  CODECOMMIT credentials 'CCTest' updated at user workspace

Delete CodeCommit credentials:

$> ./tw credentials delete -n CCTest

  Credentials '3dm8ipcP5manEAxMjAMAip' deleted at user workspace
joaquimgamero commented 5 months ago

✅ Tested on both personal workspace and organization workspace, works fine!

Screenshot 2024-06-18 at 15 55 18 Screenshot 2024-06-18 at 15 49 36
pgeadas commented 5 months ago

Also tested it for workspace and all good.

schaluva commented 4 months ago

Can I request a new release of the tower cli that include the updates to code commit support above? We are trying to update the CX installer tool to support code commit without the workaround implemented here but need the new v0.9.3 with code commit support. Thanks!

JaimeSeqLabs commented 4 months ago

v0.9.3 released including AWS CodeCommit credentials support