Skip to content

Commit

Permalink
[HWORKS-743] Add missing auth annotation (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzant authored Dec 28, 2023
1 parent 5541baf commit 5112907
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public Response invalidateToken(@ApiParam(value = "Token to invalidate", require
@DELETE
@Path("/key/{keyName}")
@ApiOperation(value = "Delete a JWT signing key")
@ApiKeyRequired(acceptedScopes = {ApiScope.AUTH}, allowedUserRoles = {"HOPS_ADMIN", "AGENT"})
public Response removeSigingKey(
@ApiParam(value = "Name of the signing key to remove", required = true)
@PathParam("keyName") String keyName, @Context SecurityContext sc) {
Expand Down

0 comments on commit 5112907

Please sign in to comment.