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

fix(cmd/influx): ui change for secret #16961

Merged
merged 1 commit into from
Feb 27, 2020
Merged

fix(cmd/influx): ui change for secret #16961

merged 1 commit into from
Feb 27, 2020

Conversation

kelwang
Copy link
Contributor

@kelwang kelwang commented Feb 21, 2020

Closes #16475

removes the confirmation of secret input, add an optional parameter for secret value

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@kelwang kelwang force-pushed the cli_secret_ui branch 2 times, most recently from 779a58f to 0a15ff9 Compare February 21, 2020 15:15
@kelwang kelwang requested a review from jsteenb2 February 21, 2020 15:29
cmd/influx/setup.go Outdated Show resolved Hide resolved
Copy link
Contributor

@jsteenb2 jsteenb2 left a comment

Choose a reason for hiding this comment

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

no deal breakers, not sure we need to add a goto for the loop though 🤷‍♂

@kelwang kelwang merged commit 6387ecc into master Feb 27, 2020
@kelwang kelwang deleted the cli_secret_ui branch February 27, 2020 22:08
@@ -51,6 +52,7 @@ func (b *cmdSecretBuilder) cmdUpdate() *cobra.Command {
cmd := b.newCmd("update", b.cmdUpdateRunEFn)
cmd.Short = "Update secret"
cmd.Flags().StringVarP(&b.key, "key", "k", "", "The secret key (required)")
cmd.Flags().StringVarP(&b.value, "value", "v", "", "Optional secret value for scripting convenience, using this might exposed the secret to your local history")
Copy link

Choose a reason for hiding this comment

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

Typo: might expose

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.

Add the ability to manage secrets from the CLI
3 participants