Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
Path Parameters
Request Body
The request body varies based on thesourceType. All source types require:
Source Type: URL
kid to specify which key to use from the array.
Source Type: COPY_PASTE
jwkStr contains a JWK Set (array of keys), use kid to specify which key to use from the array.
Source Type: CERTIFICATE
Source Type: PUBLIC_KEY or PRIVATE_KEY
Source Type: KEYSTORE
Request Body Fields
Notes
namemust be unique within the project- For
GENERATEsource type, use the Generate JWK endpoint - Certificate, Key, and Keystore must exist and be accessible in the specified environment
- JWK is automatically deployed to all environments after creation
- algorithm: This field specifies the cryptographic algorithm to use with the key. The value must match the key type and useType:
- RSA with SIGNATURE:
RS256,RS384,RS512,PS256,PS384,PS512 - RSA with ENCRYPTION:
RSA1_5(deprecated),RSA-OAEP(deprecated),RSA-OAEP-256,RSA-OAEP-384,RSA-OAEP-512 - EC with SIGNATURE:
ES256,ES384,ES512,ES256K - EC with ENCRYPTION:
ECDH-ES,ECDH-ES+A128KW,ECDH-ES+A192KW,ECDH-ES+A256KW,ECDH-1PU,ECDH-1PU+A128KW,ECDH-1PU+A192KW,ECDH-1PU+A256KW - OCT with SIGNATURE:
HS256,HS384,HS512 - OCT with ENCRYPTION:
A128KW,A192KW,A256KW,A128GCMKW,A192GCMKW,A256GCMKW,DIR,PBES2-HS256+A128KW,PBES2-HS384+A192KW,PBES2-HS512+A256KW - OKP with SIGNATURE:
EdDSA - OKP with ENCRYPTION:
ECDH-ES,ECDH-ES+A128KW,ECDH-ES+A192KW,ECDH-ES+A256KW,ECDH-1PU,ECDH-1PU+A128KW,ECDH-1PU+A192KW,ECDH-1PU+A256KW
- RSA with SIGNATURE:
- Important:
algorithmmust be a valid algorithm name, not a key type (e.g., useRS256notRSA)
Response
Success Response (200 OK)
Error Response (400 Bad Request)
cURL Example
Example 1: Create JWK from URL
Example 2: Create JWK from JSON String
Example 3: Create JWK from Certificate
Notes and Warnings
-
JWK Name:
- Must be unique within the project
- Cannot be changed after creation
-
Source Types:
URL: Fetches JWK from a remote URLCOPY_PASTE: Creates JWK from JSON stringCERTIFICATE: Extracts JWK from existing certificatePUBLIC_KEY/PRIVATE_KEY: Extracts JWK from existing keyKEYSTORE: Extracts JWK from keystore aliasGENERATE: Use Generate JWK endpoint instead
-
Automatic Deployment:
- JWK is automatically deployed after creation
- Deployment results are returned in the response
Permissions
User must haveSECRETS + MANAGE permission in the project. For deployment operations (when deploying JWKs to environments), user must also have SECRETS + DEPLOY_UNDEPLOY permission.
Related Documentation
- List JWKs - List all JWKs
- Get JWK - Get a specific JWK
- Generate JWK - Generate a new JWK
- Update JWK - Update a JWK

