All Known Implementing Classes:
SigningKeyAdminController

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2026-11-08T20:21:45.782821081Z[Etc/UTC]", comments="Generator version: 7.27.0") @Validated public interface SigningKeysApi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<List<SigningKeyResponse>>
    GET /api/admin/keys : Lists the signing keys Never exposes private key material.
    org.springframework.http.ResponseEntity<List<SigningKeyResponse>>
    POST /api/admin/keys/rotate : Rotates the signing keys now Forces a rotation whatever the age of the active key: the active key is retired (it stays published until the tokens it signed expire), the next key becomes active and a new next key is generated.
  • Field Details

  • Method Details

    • listSigningKeys

      @RequestMapping(method=GET, value="/api/admin/keys", produces="application/json") org.springframework.http.ResponseEntity<List<SigningKeyResponse>> listSigningKeys()
      GET /api/admin/keys : Lists the signing keys Never exposes private key material. Needs scope admin.
      Returns:
      The keys (status code 200) or Missing or invalid bearer token (status code 401) or The token lacks the admin scope (status code 403)
    • rotateSigningKeys

      @RequestMapping(method=POST, value="/api/admin/keys/rotate", produces="application/json") org.springframework.http.ResponseEntity<List<SigningKeyResponse>> rotateSigningKeys()
      POST /api/admin/keys/rotate : Rotates the signing keys now Forces a rotation whatever the age of the active key: the active key is retired (it stays published until the tokens it signed expire), the next key becomes active and a new next key is generated. Keys retired for longer than the retention are deleted, and the published keys are refreshed. The scheduled rotation, in contrast, only rotates a key that is due. Needs scope admin.
      Returns:
      The keys after the rotation (status code 200) or Missing or invalid bearer token (status code 401) or The token lacks the admin scope (status code 403)