Skip to content

Commit

Permalink
Fixed the method to invoke to delete a key.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed Aug 9, 2024
1 parent a5b73ff commit 930d0d5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import it.pagopa.swclient.mil.azureservices.keyvault.keys.bean.KeyVerifyParameters;
import it.pagopa.swclient.mil.azureservices.keyvault.keys.bean.KeyVerifyResult;
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.DELETE;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
Expand Down Expand Up @@ -325,7 +326,7 @@ Uni<KeyOperationResult> decrypt(
* DeletedKeyBundle}
*/
@Path("/keys/{keyName}")
@GET
@DELETE
@Produces(MediaType.APPLICATION_JSON)
@ClientHeaderParam(name = "Authorization", value = "Bearer {accessToken}")
@ClientQueryParam(name = "api-version", value = "${azure-key-vault-keys.api-version}")
Expand Down

0 comments on commit 930d0d5

Please sign in to comment.