Skip to content

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Jan 29, 2021

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.

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.
@tvernum tvernum added >enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v8.0.0 v7.12.0 labels Jan 29, 2021
@tvernum tvernum requested review from jkakavas and lcawl January 29, 2021 05:13
@elasticmachine elasticmachine added the Team:Security Meta label for security team label Jan 29, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@tvernum
Copy link
Contributor Author

tvernum commented Jan 29, 2021

@lcawl I think this gives you what you need to complete #63783

Copy link
Contributor

@lcawl lcawl left a 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

Copy link
Contributor

@jkakavas jkakavas left a 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);
Copy link
Contributor

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.

@mark-vieira
Copy link
Contributor

@elasticmachine update branch

1 similar comment
@tvernum
Copy link
Contributor Author

tvernum commented Feb 3, 2021

@elasticmachine update branch

@tvernum tvernum merged commit 528d029 into elastic:master Feb 9, 2021
tvernum added a commit to tvernum/elasticsearch that referenced this pull request Feb 9, 2021
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
tvernum added a commit that referenced this pull request Feb 10, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants