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

Rough ES Admin implementation for discussion #10232

Draft
wants to merge 1 commit into
base: dev/7.5.x
Choose a base branch
from

Conversation

bferguso
Copy link
Contributor

@bferguso bferguso commented Nov 2, 2023

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description of Change

Adds a management command to manage the Elasticsearch configuration and credentials. Provides the ability create, update, delete and list ES roles, users and API keys.

Issues Solved

#10231

Checklist

  • Unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Ticket Background

  • Sponsored by:
  • Found by: @
  • Tested by: @
  • Designed by: @ <!-- TBD - in progress ->

Further comments

  • This is for discussion, following the principle of least privilege for the ES configuration. Still need to come up with the best way to bootstrap this configuration using superuser credentials.
  • Current implementation takes credentials on the command line and also looks for the ES_ADMIN_USER and ES_ADMIN_PASSWORD in settings.
  • Can see a need for similar functionality for application Postgres database roles

@bferguso bferguso marked this pull request as draft November 2, 2023 19:26
@bferguso
Copy link
Contributor Author

bferguso commented Nov 2, 2023

@aarongundel, @chiatt - Here's the initial PR for discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants