All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreateJsonWebKeySet | Post /keys/{set} | Generate a new JSON Web Key |
DeleteJsonWebKey | Delete /keys/{set}/{kid} | Delete a JSON Web Key |
DeleteJsonWebKeySet | Delete /keys/{set} | Delete a JSON Web Key Set |
GetJsonWebKey | Get /keys/{set}/{kid} | Retrieve a JSON Web Key |
GetJsonWebKeySet | Get /keys/{set} | Retrieve a JSON Web Key Set |
UpdateJsonWebKey | Put /keys/{set}/{kid} | Update a JSON Web Key |
UpdateJsonWebKeySet | Put /keys/{set} | Update a JSON Web Key Set |
JsonWebKeySet CreateJsonWebKeySet($set, $body)
Generate a new JSON Web Key
This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. 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.
Name | Type | Description | Notes |
---|---|---|---|
set | string | The set | |
body | JsonWebKeySetGeneratorRequest | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteJsonWebKey($kid, $set)
Delete a JSON Web Key
Use this endpoint to delete a single JSON Web Key. 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.
Name | Type | Description | Notes |
---|---|---|---|
kid | string | The kid of the desired key | |
set | string | The set |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteJsonWebKeySet($set)
Delete a JSON Web Key Set
Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. 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.
Name | Type | Description | Notes |
---|---|---|---|
set | string | The set |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonWebKeySet GetJsonWebKey($kid, $set)
Retrieve a JSON Web Key
This endpoint can be used to retrieve JWKs stored in ORY Hydra. 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.
Name | Type | Description | Notes |
---|---|---|---|
kid | string | The kid of the desired key | |
set | string | The set |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonWebKeySet GetJsonWebKeySet($set)
Retrieve a JSON Web Key Set
This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. 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.
Name | Type | Description | Notes |
---|---|---|---|
set | string | The set |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonWebKey UpdateJsonWebKey($kid, $set, $body)
Update a JSON Web Key
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.
Name | Type | Description | Notes |
---|---|---|---|
kid | string | The kid of the desired key | |
set | string | The set | |
body | JsonWebKey | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonWebKeySet UpdateJsonWebKeySet($set, $body)
Update a JSON Web Key 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.
Name | Type | Description | Notes |
---|---|---|---|
set | string | The set | |
body | JsonWebKeySet | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]