Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update SSH issue/sign methods to point to updated endpoints #26

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/api/ssh/issue_ssh_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/api/ssh/sign_ssh_public_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading