New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Update a JSON Web Key Set

PUT 

/admin/keys/:set

Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

SDK ReferenceTypeScript
setJsonWebKeySet()
ParametersTypeRequiredDescription
jsonWebKeySetJsonWebKeySetrequired
setstringrequiredThe JSON Web Key Set ID
VariableType
dataJsonWebKeySet