From fc6c7d9bab1e9300bd133787eebe060ca92d3c65 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Wed, 18 Dec 2024 11:05:51 -0800 Subject: [PATCH] Update ssh issue/sign endpoints --- packages/api/ssh/issue_ssh_creds.go | 2 +- packages/api/ssh/sign_ssh_public_key.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/ssh/issue_ssh_creds.go b/packages/api/ssh/issue_ssh_creds.go index c68426d..4ba8ec5 100644 --- a/packages/api/ssh/issue_ssh_creds.go +++ b/packages/api/ssh/issue_ssh_creds.go @@ -13,7 +13,7 @@ func CallIssueSshCredsV1(httpClient *resty.Client, request IssueSshCredsV1Reques res, err := httpClient.R(). SetResult(&issueSshCredsResponse). SetBody(request). - Post("/v1/ssh/issue") + Post("/v1/ssh/certificates/issue") if err != nil { return IssueSshCredsV1Response{}, errors.NewRequestError(callIssueSshCredsOperation, err) diff --git a/packages/api/ssh/sign_ssh_public_key.go b/packages/api/ssh/sign_ssh_public_key.go index cf4c1e6..4dc3b0e 100644 --- a/packages/api/ssh/sign_ssh_public_key.go +++ b/packages/api/ssh/sign_ssh_public_key.go @@ -13,7 +13,7 @@ func CallSignSshPublicKeyV1(httpClient *resty.Client, request SignSshPublicKeyV1 res, err := httpClient.R(). SetResult(&signSshPublicKeyResponse). SetBody(request). - Post("/v1/ssh/sign") + Post("/v1/ssh/certificates/sign") if err != nil { return SignSshPublicKeyV1Response{}, errors.NewRequestError(callSignSshPublicKeyOperation, err)