Skip to content

Commit

Permalink
Merge pull request #26 from Infisical/ssh-cert
Browse files Browse the repository at this point in the history
Update SSH issue/sign methods to point to updated endpoints
  • Loading branch information
dangtony98 authored Dec 18, 2024
2 parents b048537 + fc6c7d9 commit 3a712fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 3a712fa

Please sign in to comment.