Today, the JWK is initialized by the controlplane when loading, and stored in-memory.
To support multiple controlpanes with the same JWK key, we change the controlplane authz manager to ready the JWK key from a secret, instead of generating it.manager
The secret is created by the (soon to be leader elected) control manager.
Note: rotating JWK keys is not yet supported. Planning to open a feature issue after this PR is merged.
Today, the JWK is initialized by the controlplane when loading, and stored in-memory. To support multiple controlpanes with the same JWK key, we change the controlplane authz manager to ready the JWK key from a secret, instead of generating it.manager The secret is created by the (soon to be leader elected) control manager.
Note: rotating JWK keys is not yet supported. Planning to open a feature issue after this PR is merged.