Flush keys in CRDB via application

Hello there,

In one of our lower environments, the application team needs to flush all keys in a CRDB frequently as part of testing. As they cannot be granted server level access, how can this be achieved via application call?

Thanks

Do they have the rights to run FLUSHALL from the application?

What rights are needed?

As long as you haven’t prohibited that command with an ACL, they should be able to run it.

We do have TLS enabled and password for the DB. The app uses hashicorp vault to get DB credentials and connect to the DB.
As redis is version 5.4.4 rediscli cannot be used to connect to the DB even on the server side, we use bdb-cli.

Any other way?

At this point, I’d suggest opening a support ticket: Support | Redis Labs