Skip to content

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