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: Make path property required for the Secrets V1 & V2 APIs #497

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

lenny-goodell
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Secrets API (V1 & V2) path property is currently optional, but results in error from Vault due to not having write privs for the base path.

Issue Number: #476

What is the new behavior?

path property is now required for both V1 & V2 Secrets API.

Does this PR introduce a breaking change?

  • Yes
  • No

For V1 it results in a n error, so no one could have successfully used Secrets API w/o path set

Are there any new imports or modules? If so, what are they used for and why?

No

Are there any specific instructions or things that should be known prior to reviewing?

Other information

Copy link
Collaborator

@bnevis-i bnevis-i left a comment

Choose a reason for hiding this comment

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

LGTM

@lenny-goodell lenny-goodell merged commit a28a1e2 into edgexfoundry:master Sep 18, 2020
@lenny-goodell lenny-goodell deleted the path-required branch September 18, 2020 22:08
jinlinGuan added a commit to jinlinGuan/edgex-taf that referenced this pull request Sep 21, 2020
weichou1229 pushed a commit to weichou1229/edgex-taf that referenced this pull request Nov 2, 2020
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.

3 participants