https://authzed.com logo
Does SpiceDB support multiple keys?
s

symion

05/18/2023, 7:09 PM
Does spicedb support or could it support multiple shared keys to facilitate rotation with out down time. similar to jwks. Right now with the singular value, it would seem to require a bit of coordination to rotate that key.
v

vroldanbet

05/18/2023, 7:19 PM
it does support multiple shared keys. You just need to pass the env variable and have them separated by commas
s

symion

05/18/2023, 7:22 PM
ah, nice! good to know thanks
The client libraries also do this? or is it better to just always specify the most recent key?
j

Joey

05/18/2023, 7:51 PM
client libs only allow a single key