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

options: s/shared-key/shared secret #2257

Merged
merged 1 commit into from
May 31, 2021
Merged

Conversation

desimone
Copy link
Contributor

@desimone desimone commented May 31, 2021

Signed-off-by: Bobby DeSimone bobbydesimone@gmail.com

Summary

The SharedKey field has struct tags that are shared_secret which can result in confusing error messages to users.

SharedKey == shared_secret

// SharedKey is the shared secret authorization key used to mutually authenticate
// requests between services.
SharedKey string `mapstructure:"shared_secret" yaml:"shared_secret,omitempty"`

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
@desimone desimone requested a review from a team as a code owner May 31, 2021 19:40
@desimone desimone requested a review from wasaga May 31, 2021 19:40
@desimone desimone added bug Something isn't working docs Docs update required labels May 31, 2021
@codeclimate
Copy link

codeclimate bot commented May 31, 2021

Code Climate has analyzed commit ca5c785 and detected 0 issues on this pull request.

View more on Code Climate.

@desimone desimone merged commit c5f90e4 into master May 31, 2021
@desimone desimone deleted the desimone/shared-key-error-msg branch May 31, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Docs update required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants