-
Notifications
You must be signed in to change notification settings - Fork 396
Add GCP Auth Method Class #240
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
Conversation
Hullo again @seanmalloy! I am happy to see some more GCP-related API routes getting coverage here. :D So in #242 I'm hoping to establish a different pattern for how auth (and ultimately secret methods) are organized. Given that, and assuming the new pattern being proposed doesn't raise any general concerns on your part, I'd love to see these GCP method additions follow that same sort of pattern. I.e., instead of adding new methods to the quite large
|
@jeffwecan sounds good. I can change the GCP auth code to use your new pattern. I should be able to start working on this PR again later this week. |
@seanmalloy 👍. Feel free to pull in all the recent GCP additions to a new class or just the bits you're looking to add here. Either is fine by me. For what it is worth, I've been using a small helper script to scrape Vault API docs (e.g., https://www.vaultproject.io/api/auth/gcp/index.html) and stub out classes based on that content. So if it is helpful, here is a rough pass of an autogenerated |
Codecov Report
@@ Coverage Diff @@
## master #240 +/- ##
==========================================
+ Coverage 91.11% 91.98% +0.86%
==========================================
Files 20 22 +2
Lines 1306 1410 +104
==========================================
+ Hits 1190 1297 +107
+ Misses 116 113 -3
|
Count down to ready for review ...
|
Hey @seanmalloy, Since we're coming up on the end of the month / about when I wanted to cut the 0.6.5 hvac release, I may try to get the work you've done already over the finish line and push up some commits to your branch if you don't mind. So if I don't hear back with any objections by next Monday, I'll probably go that route 👍 |
@seanmalloy: I tried to get these additions mostly filled out. Unless you see any issues with the commits I tacked on, I'll get this merged in for the next hvac release over the next day or so. |
No unit or integration tests yet. Code
has not been tested yet.