Skip to content
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

Metadata of API key authentication must have roleDescriptor keys #84203

Merged
merged 7 commits into from
Feb 24, 2022

Conversation

ywangd
Copy link
Member

@ywangd ywangd commented Feb 22, 2022

This PR removes conditional check for metadata keys related to API key
role descriptors. API key authentication must always have these keys for
it to work. The PR adds assertions for these keys and fixes relevant
tests.

Relates: #82639

This PR removes conditional check for metadata keys related to API key
role descriptors. API key authentication must always have these keys for
it to work. The PR adds assertions for these keys and fixes relevant
tests.

Relates: elastic#82639
@ywangd ywangd added >enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v8.2.0 labels Feb 22, 2022
@elasticmachine elasticmachine added the Team:Security Meta label for security team label Feb 22, 2022
@elasticmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @ywangd, I've created a changelog YAML for you.

@ywangd ywangd added the test-full-bwc Trigger full BWC version matrix tests label Feb 22, 2022
@ywangd
Copy link
Member Author

ywangd commented Feb 22, 2022

@elasticmachine run elasticsearch-ci/full-bwc

Copy link
Contributor

@albertzaharovits albertzaharovits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ywangd
Copy link
Member Author

ywangd commented Feb 23, 2022

@elasticmachine update branch

@elasticsearchmachine
Copy link
Collaborator

Hi @ywangd, I've created a changelog YAML for you.

@ywangd
Copy link
Member Author

ywangd commented Feb 23, 2022

Label as >non-issue since previous change of adding conditional check is not released.

@ywangd
Copy link
Member Author

ywangd commented Feb 24, 2022

@elasticmachine run elasticsearch-ci/full-bwc

@ywangd ywangd merged commit 4c6b52d into elastic:master Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team test-full-bwc Trigger full BWC version matrix tests v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants