-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add grant-api-key to HLRC #68190
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
Add grant-api-key to HLRC #68190
Conversation
This adds support for "Grant API Key" to the Java High Level Rest Client. This API was added in Elasticsearch 7.7 but did not have explicit support in the HLRC.
|
Pinging @elastic/es-security (Team:Security) |
lcawl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks! That will give us the necessary inclusions for the docs
jkakavas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minus that small test fix
| RestHighLevelClient client = highLevelClient(); | ||
|
|
||
| final String username = "grant_apikey_user"; | ||
| final String passwordString = randomAlphaOfLengthBetween(14, 18); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIPS 140 stamp of approval.
...t/rest-high-level/src/test/java/org/elasticsearch/client/SecurityRequestConvertersTests.java
Outdated
Show resolved
Hide resolved
|
@elasticmachine update branch |
1 similar comment
|
@elasticmachine update branch |
This adds support for "Grant API Key" to the Java High Level Rest Client. This API was added in Elasticsearch 7.7 but did not have explicit support in the HLRC. Backport of: elastic#68190
This adds support for "Grant API Key" to the Java High Level Rest Client. This API was added in Elasticsearch 7.7 but did not have explicit support in the HLRC. Backport of: #68190
This adds support for "Grant API Key" to the Java High Level Rest
Client.
This API was added in Elasticsearch 7.7 but did not have explicit support
in the HLRC.