Update a jwkset
patch
https://{your_site_interface}/opa-hub/api/12.2.35/jwksets/{jwkset-purpose}
This operation will update a jwkset.
Request
Path Parameters
-
jwkset-purpose(required): string
The JWK set's purpose.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
activeKeyID(required): string
The 'kid' of the active key in this set, if one has been set.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Root Schema : jwkset
Type:
Show Source
object
-
activeKeyID: string
The 'kid' of the active key in this set, if one has been set.
-
allowedKeyUse: string
Read Only:
true
Allowed Values:[ "enc", "sig" ]
The 'use' value which keys in this set must have, i.e. 'enc' for encryption or 'sig' for signing. -
keys: object
jwksetKeys
-
purpose: string
Read Only:
true
The JWK set's purpose.
Nested Schema : jwksetKey
Type:
Show Source
object
-
crv: string
Allowed Values:
[ "P-256", "P-384", "P-521" ]
The cryptographic curve name use by an elliptical curve (EC) algorithm. -
kid(required): string
The ID of the key.
-
kty: string
Allowed Values:
[ "EC" ]
Key type parameter. -
use: string
Allowed Values:
[ "enc", "sig" ]
Public key use, i.e. 'enc'. Must match JWK set's allowed key use. -
x: string
The 'x' coordinate for an elliptical curve point.
-
y: string
The 'y' coordinate for an elliptical curve point.