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
Implement activedirectory.rotate_credentials and ldap.rotate_static_credentials #1161
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1161 +/- ##
==========================================
- Coverage 87.80% 87.75% -0.06%
==========================================
Files 67 67
Lines 3264 3267 +3
==========================================
+ Hits 2866 2867 +1
- Misses 398 400 +2
|
While this is a simple endpoint call passing to the api it might be worth a simple sanity check of a test case |
Add basic test for rotate_credentials
Add basic test for rotate_credentials
Rename as test_rotate_credentials to match the function name
@Tylerlhess not sure if it is what you suggested to have. |
I made a mistake. implemented active_directory but make test case on ldap. Convert to DRAFT. |
Yeah that would actually be a good test. I think of having a test, even a dumb one, is a good way to make sure that other changes don't break this function from even being called. Yes validating that it actually worked is important but even a simple test that it runs without error catches most breaking changes. |
I saw the ldap part was implemented in #1163, casuing a conflict. Going to pull out my changes. |
usage: client.secrets.activedirectory.rotate_credentials(name,[mount_point])