Hi Ory team, how is JWK key sets are generated whi...
# ory-selfhosting
o
Hi Ory team, how is JWK key sets are generated while installing Ory Hydra? is it randomly generated with different values, each time Hydra is installed? can we pass our own JWK key for access-token while installing token, if we don't want to use rest api to change jwk key set?
e
Hi there! Afaik, they are based on the secrets you provide during installation. When you provide a secret A and connect to an empty DB it will populate it using the secret. If you then want to connect to the same DB with a different hydra instance, you need the same secret
o
every time after installing hydra with same secret, JWK is different.(kid, n, etc values are different)