Skip to content

Conversation

@kc13greiner
Copy link
Contributor

@kc13greiner kc13greiner commented Jul 14, 2022

Summary

Resolves #120804

  • Log usage of deprecated functionality where interactive users are authenticating via ApiKey
  • Updating docs with a warning that this functionality is deprecated

Preview of docs:
Screen Shot 2022-07-18 at 11 49 35 AM
Screen Shot 2022-07-18 at 11 49 29 AM

Release Notes

  • Interactive users authenticating via ApiKey is deprecated and support will be removed in a future version

@kc13greiner kc13greiner added Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// release_note:deprecation v8.4.0 docs labels Jul 14, 2022
@kc13greiner kc13greiner marked this pull request as ready for review July 18, 2022 15:48
@kc13greiner kc13greiner requested a review from a team as a code owner July 18, 2022 15:48
@elasticmachine
Copy link
Contributor

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

@kc13greiner kc13greiner requested review from azasypkin and legrego July 18, 2022 15:49
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

I defer to Oleg for reviewing the implementation, so just a comment about docs from my side. Thanks for picking this up!

@legrego legrego requested a review from gchaps July 18, 2022 16:19
});

describe('logApiKeyWithInteractiveUserDeprecated', () => {
it('should log a deprecation warning if interactive user is using API Key', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

"interactive user" is not a term I normally see. Can we drop "interactive" or find another way to explain what is meant here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about something like:

should log a deprecation warning if a user is authenticating via API key while accessing the application through a web browser

@legrego
Copy link
Member

legrego commented Jul 19, 2022

Docs LGTM, pending Oleg's review. Thanks for the edits!

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Just a few minor nits before merging. Also would you mind either updating or removing outdated docs screenshots from the issue description?

@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kc13greiner kc13greiner merged commit e22e3a5 into elastic:main Jul 20, 2022
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Jul 20, 2022
@kc13greiner kc13greiner deleted the feature/apikey_deprecation branch July 20, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting docs release_note:deprecation Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// v8.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate interactive users authenticating via API Keys

7 participants