Skip to content

Remove --api-key parameter#2

Merged
cdupuis merged 1 commit intomainfrom
issue-1
Sep 19, 2022
Merged

Remove --api-key parameter#2
cdupuis merged 1 commit intomainfrom
issue-1

Conversation

@cdupuis
Copy link
Copy Markdown
Collaborator

@cdupuis cdupuis commented Sep 19, 2022

As per #1, accepting --api-key is a security concern. Switching the login command to accept --api-key-stdin, ATOMIST_API_KEY env variable or interactive login instead.

fixes #1

@cdupuis cdupuis requested a review from thaJeztah September 19, 2022 13:17
@cdupuis cdupuis changed the title Remove --api-key parameter Remove --api-key parameter Sep 19, 2022
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave this a spin, and it looks to be working; left some comments/suggestions for possible follow-up improvements 😅

Comment thread main.go
Comment thread main.go
fixes #1

Signed-off-by: Christian Dupuis <cd@atomist.com>
@cdupuis
Copy link
Copy Markdown
Collaborator Author

cdupuis commented Sep 19, 2022

I gave this a spin, and it looks to be working; left some comments/suggestions for possible follow-up improvements 😅

Thanks @thaJeztah. I've addressed your 2nd comment and added interactive mode for the workspace as well.

@cdupuis cdupuis merged commit f0e36ec into main Sep 19, 2022
@cdupuis cdupuis deleted the issue-1 branch September 19, 2022 14:41
@thaJeztah
Copy link
Copy Markdown
Member

I've addressed your 2nd comment and added interactive mode for the workspace as well.

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

command should not accept API key as argument (--api-key)

2 participants