Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Notes

  • JWK must exist in the project or in the admin project
  • Credential must exist
  • Only one JWK can be assigned for decryption and encryption at a time
  • Assigning a new JWK replaces the existing one if present
  • JWK is used for JWT decryption and encryption operations

Response

Success Response (200 OK)

Error Response (400 Bad Request)

or

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Notes and Warnings

  • JWK Requirements:
    • JWK must exist in the project or admin project
    • JWK name is case-sensitive
  • Credential Requirements:
    • Credential must exist
    • Credential must be in the same project or accessible from the project
  • Replacement Behavior:
    • Assigning a new JWK replaces any existing JWK for decryption and encryption
    • Previous JWK assignment is automatically removed
  • Usage:
    • JWK is used for JWT decryption operations
    • JWK is used for JWT encryption operations
    • Separate from JWK used for validation and signing
  • Automatic Deployment:
    • Credential is automatically deployed to all environments after JWK assignment
    • Deployment results are returned in the response

Permissions

  • User must have IDENTITY + MANAGE permission in the project
  • For automatic deployment, user must also have IDENTITY + DEPLOY_UNDEPLOY permission