synchronising password databases between kratos in...
# ory-selfhosting
s
synchronising password databases between kratos instances. I can extract the hashed passwords as described here: https://www.ory.sh/docs/kratos/manage-identities/export-user-accounts-identities Can I then import this data into another kratos instance (with the same encryption settings in their config.yml)? My use case is to support disconnected operation where we have a central kratos system, and additional kratos instances in trucks (for the brodcast industry). Alternatively - has anyone done any work on a proxy which could cache kratos data during periods when the truck is offline. (I am not even sure if this is a sane thing to suggest)
m
Hello @some-bear-63847 Could you use JWT for this? https://www.ory.sh/docs/identities/session-to-jwt-cors AFAICT you could check the session with JWT even if the the central Kratos is not reachable. Then it just depends how often that happens (is it regular or random?) and how long you set the JWT time to live.