J
JanusGraph5mo ago
NeO

How does remote gremlin server reacts to credential rotation.

I have are remote gremlin server setup with backend database as Cassandra. I need to rotate Cassandra Username/password once a week. My Cassandra credential are stored in gremlin server properties file and are injected by side-car container at boot time. How does the Janus graph reacts to if Cassandra credential are changed ? How can I achieved a rotation of Cassandra credentials without any downtime for gremlin server?
CC @HailDevil
2 Replies
Florian Hockmann
storage.username and storage.password have the mutability level LOCAL. This means that they changing them in general is not an issue as they are just taken from the config file of that specific Gremlin Server. This means that you can change the credentials for different Gremlin Server instances one after another, leaving you always with some instances that are up and running to server Gremlin queries
NeO
NeOOP5mo ago
If I understand you correctly, what your suggesting is to have 2 passwords active at given point of time and perform gremlin deployment restart, so that new password can be picked up by server.
Want results from more Discord servers?
Add your server