authzed / spicedb-operator

Kubernetes controller for managing instances of SpiceDB
Apache License 2.0
61 stars 24 forks source link

Does spicedb-operator support setting multiple preshared keys? #305

Closed galenwarren closed 2 months ago

galenwarren commented 2 months ago

Support for multiple preshared keys exists in spicedb, but I only see documentation for setting a single preshared key, via preshared_key in the config secret.

Can multiple keys be set? This would be useful for key rotation.

Thanks.

ecordell commented 2 months ago

Yes, the preshard_key can be given multiple keys as a comma-separated list just like on the SpiceDB command line, i.e. preshared_key: key1,key2 etc.

Closing this but feel free to re-open if you find issues with setting multiple preshared keys