This is a great feature to have Stefan. Like you already pointed, it pairs
really well with CEP-24. I am only concerned about scripts going crazy and
generating way too many accounts. Do you have any plans for throttling or
placing a limit on the number of auto-generated accounts that could be
created by an admin?

It would be nice if these accounts could be TTL'd after a set period of
time of inactivity. I'm thinking from a testing standpoint where you want
to create a fresh account and not worry about cleaning up because Cassandra
could TTL it automatically. I recognize this will expand the scope of your
CEP and I'll be happy to work on contributing to it. Alternatively, if you
think it might be better to have this as a separate CEP that's ok too.

Thanks,

Dinesh

On Mon, Sep 8, 2025 at 6:35 AM Štefan Miklošovič <[email protected]>
wrote:

> Hi list,
>
> I would like to propose CEP-55. It is about the ability to create users /
> roles without specifying names ourselves.
>
> This is a very handy feature for systems where we want to have a way for
> the system to generate user names / role names for us by some predefined
> manner. If there is a company deploying clusters in some automated manner /
> on demand, the creation of user names / roles is left to an operator to
> figure out. This task can be delegated to cluster and user name / role name
> would be returned as part of CQL response.
>
> This feature might be also used e.g. for demo / evaluation purposes, for
> creation of technical users where role names do not matter, or for
> increased security where role names would not be leaked in logs.
>
> This is quite a powerful technique, especially with CEP-24 / password
> generation, where an operator just has to execute:
>
> CREATE GENERATED USER WITH GENERATED PASSWORD;
>
> and both (valid) name and password would be returned.
>
> (1)
> https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-55+Generated+role+names
>

Reply via email to