pub async fn set_json_web_key(
    configuration: &Configuration,
    set: &str,
    kid: &str,
    json_web_key: Option<&JsonWebKey>
) -> Result<JsonWebKey, Error<SetJsonWebKeyError>>
Expand description

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.