Skip to content

feat: add server setting for providing root password#1392

Merged
lvca merged 1 commit into
ArcadeData:mainfrom
gramian:main
Dec 19, 2023
Merged

feat: add server setting for providing root password#1392
lvca merged 1 commit into
ArcadeData:mainfrom
gramian:main

Conversation

@gramian

@gramian gramian commented Dec 19, 2023

Copy link
Copy Markdown
Collaborator

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
@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

lvca commented Dec 19, 2023

Copy link
Copy Markdown
Member

Very useful, thanks!

tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
mergify Bot added a commit that referenced this pull request Jul 5, 2026
… [skip ci]

Bumps [testcontainers](https://github.com/testcontainers/testcontainers-node) from 12.0.3 to 12.0.4.
Commits

* [`4286661`](testcontainers/testcontainers-node@4286661) Stop Jest smoke test from flaking on babel/browserslist load ([#1395](https://redirect.github.com/testcontainers/testcontainers-node/issues/1395))
* [`c46ccae`](testcontainers/testcontainers-node@c46ccae) Fix container exec output truncation ([#1381](https://redirect.github.com/testcontainers/testcontainers-node/issues/1381))
* [`8cc4bb5`](testcontainers/testcontainers-node@8cc4bb5) Reuse insecure HTTP wait agent across retries ([#1382](https://redirect.github.com/testcontainers/testcontainers-node/issues/1382))
* [`aef8483`](testcontainers/testcontainers-node@aef8483) Bump the dependencies group across 3 directories with 2 updates ([#1393](https://redirect.github.com/testcontainers/testcontainers-node/issues/1393))
* [`1022d61`](testcontainers/testcontainers-node@1022d61) Bump the dependencies group with 3 updates ([#1394](https://redirect.github.com/testcontainers/testcontainers-node/issues/1394))
* [`d8c015d`](testcontainers/testcontainers-node@d8c015d) Pin Dependabot weekly schedule to Monday ([#1392](https://redirect.github.com/testcontainers/testcontainers-node/issues/1392))
* [`b6e39e2`](testcontainers/testcontainers-node@b6e39e2) Document cross-language Testcontainers implementations in AGENTS.md ([#1391](https://redirect.github.com/testcontainers/testcontainers-node/issues/1391))
* [`d6d99a4`](testcontainers/testcontainers-node@d6d99a4) NPM audit ([#1388](https://redirect.github.com/testcontainers/testcontainers-node/issues/1388))
* [`e2c6aed`](testcontainers/testcontainers-node@e2c6aed) Add missing languages and reorder docs navigation ([#1385](https://redirect.github.com/testcontainers/testcontainers-node/issues/1385))
* [`9130826`](testcontainers/testcontainers-node@9130826) Bump the dependencies group across 8 directories with 11 updates ([#1386](https://redirect.github.com/testcontainers/testcontainers-node/issues/1386))
* Additional commits viewable in [compare view](testcontainers/testcontainers-node@v12.0.3...v12.0.4)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=testcontainers&package-manager=npm\_and\_yarn&previous-version=12.0.3&new-version=12.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify Bot added a commit that referenced this pull request Jul 5, 2026
…udio [skip ci]

Bumps [testcontainers](https://github.com/testcontainers/testcontainers-node) from 12.0.3 to 12.0.4.
Commits

* [`4286661`](testcontainers/testcontainers-node@4286661) Stop Jest smoke test from flaking on babel/browserslist load ([#1395](https://redirect.github.com/testcontainers/testcontainers-node/issues/1395))
* [`c46ccae`](testcontainers/testcontainers-node@c46ccae) Fix container exec output truncation ([#1381](https://redirect.github.com/testcontainers/testcontainers-node/issues/1381))
* [`8cc4bb5`](testcontainers/testcontainers-node@8cc4bb5) Reuse insecure HTTP wait agent across retries ([#1382](https://redirect.github.com/testcontainers/testcontainers-node/issues/1382))
* [`aef8483`](testcontainers/testcontainers-node@aef8483) Bump the dependencies group across 3 directories with 2 updates ([#1393](https://redirect.github.com/testcontainers/testcontainers-node/issues/1393))
* [`1022d61`](testcontainers/testcontainers-node@1022d61) Bump the dependencies group with 3 updates ([#1394](https://redirect.github.com/testcontainers/testcontainers-node/issues/1394))
* [`d8c015d`](testcontainers/testcontainers-node@d8c015d) Pin Dependabot weekly schedule to Monday ([#1392](https://redirect.github.com/testcontainers/testcontainers-node/issues/1392))
* [`b6e39e2`](testcontainers/testcontainers-node@b6e39e2) Document cross-language Testcontainers implementations in AGENTS.md ([#1391](https://redirect.github.com/testcontainers/testcontainers-node/issues/1391))
* [`d6d99a4`](testcontainers/testcontainers-node@d6d99a4) NPM audit ([#1388](https://redirect.github.com/testcontainers/testcontainers-node/issues/1388))
* [`e2c6aed`](testcontainers/testcontainers-node@e2c6aed) Add missing languages and reorder docs navigation ([#1385](https://redirect.github.com/testcontainers/testcontainers-node/issues/1385))
* [`9130826`](testcontainers/testcontainers-node@9130826) Bump the dependencies group across 8 directories with 11 updates ([#1386](https://redirect.github.com/testcontainers/testcontainers-node/issues/1386))
* Additional commits viewable in [compare view](testcontainers/testcontainers-node@v12.0.3...v12.0.4)
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.

2 participants