CASSANDRA-21546: Support pluggable default role initialization - #4990
Open
aparna0522 wants to merge 14 commits into
Open
CASSANDRA-21546: Support pluggable default role initialization#4990aparna0522 wants to merge 14 commits into
aparna0522 wants to merge 14 commits into
Conversation
aparna0522
force-pushed
the
anaik-hardcoded-creds-fix
branch
from
August 1, 2026 00:25
8759820 to
96a5f44
Compare
smiklosovic
self-requested a review
August 2, 2026 21:43
…ssword-like entry
aparna0522
force-pushed
the
anaik-hardcoded-creds-fix
branch
from
August 5, 2026 18:34
96a5f44 to
16cc98f
Compare
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
smiklosovic
reviewed
Aug 6, 2026
aparna0522
force-pushed
the
anaik-hardcoded-creds-fix
branch
from
August 13, 2026 20:45
1a1b378 to
3462495
Compare
aparna0522
force-pushed
the
anaik-hardcoded-creds-fix
branch
from
August 13, 2026 21:24
3462495 to
cdf8332
Compare
This reverts commit cdf8332.
aparna0522
force-pushed
the
anaik-hardcoded-creds-fix
branch
from
August 13, 2026 21:35
d8b32f0 to
ab5f5e8
Compare
smiklosovic
reviewed
Aug 14, 2026
smiklosovic
reviewed
Aug 14, 2026
smiklosovic
approved these changes
Aug 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Cassandra bootstraps every new cluster with a hardcoded cassandra superuser whose password is also cassandra, so credential operators must remember to rotate.
This PR adds
IDefaultRoleInitializer, a pluggable strategy for bootstrapping the initial role, configured via a newdefault_role_initializeroption in cassandra.yaml:PasswordDefaultRoleInitializer(default): same behavior as today, role/password now configurable.MutualTlsDefaultRoleInitializer: creates the superuser with no password, mapping a client cert identity instead. Rejected at startup if the authenticator doesn't support MTLS.patch by Aparna Naik; reviewed by for CASSANDRA-21546