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

feat: add server setting for providing root password #1392

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

gramian
Copy link
Collaborator

@gramian gramian commented Dec 19, 2023

What does this PR do?

These changes add a server setting arcadedb.server.rootPasswordPath, from which the contents are loaded (if possible) and used as root password.

Motivation

If ArcadeDB is used inside container, the root password secret can now be assigned file-based preventing exposure via the environment or process command-line.

Related issues

#597

Additional Notes

The exception thrown in case the file is unreadable is kept in the style of other password shortcomings, like too short password.

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

@lvca lvca merged commit 3469100 into ArcadeData:main Dec 19, 2023
5 of 7 checks passed
@lvca lvca self-requested a review December 19, 2023 23:08
@lvca lvca added this to the 23.12.1 milestone Dec 19, 2023
@lvca lvca added the enhancement New feature or request label Dec 19, 2023
@lvca
Copy link
Contributor

lvca commented Dec 19, 2023

Very useful, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants