Generate auth tokens for service accounts#2697
Generate auth tokens for service accounts#2697stephen-crawford wants to merge 0 commit intoopensearch-project:mainfrom
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #2697 +/- ##
============================================
- Coverage 61.45% 61.38% -0.08%
- Complexity 3385 3399 +14
============================================
Files 270 272 +2
Lines 18694 18804 +110
Branches 3279 3292 +13
============================================
+ Hits 11488 11542 +54
- Misses 5611 5661 +50
- Partials 1595 1601 +6
... and 3 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
@scrawfor99 What do you think about combining this PR with Security User Refactor as most of the changes are same? I don't mind reviewing here, but would like to know your thoughts |
|
Hi @DarshitChanpura, this is meant to be merged after the security user refactor PR so once that is done, only the new changes will show in the diff. You can review it then if that works. |
24e790f to
130e410
Compare
130e410 to
24e08bd
Compare
Description
This is a PR to introduce the functionality for generating an auth token for an extension. The auth token consists of a an encoded basic auth token created from a randomly generated password. The token is then passed back to the client so that changes can be made in core in order to later perform authentication and authorization using the token.
Issues Resolved
This issue addresses This PR covers issue #2611 and issue #2668.
Testing
New tests are added to the UserApiTest file.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.