Skip to content

Commit 3a712fa

Browse files
authored
Merge pull request #26 from Infisical/ssh-cert
Update SSH issue/sign methods to point to updated endpoints
2 parents b048537 + fc6c7d9 commit 3a712fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/api/ssh/issue_ssh_creds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func CallIssueSshCredsV1(httpClient *resty.Client, request IssueSshCredsV1Reques
1313
res, err := httpClient.R().
1414
SetResult(&issueSshCredsResponse).
1515
SetBody(request).
16-
Post("/v1/ssh/issue")
16+
Post("/v1/ssh/certificates/issue")
1717

1818
if err != nil {
1919
return IssueSshCredsV1Response{}, errors.NewRequestError(callIssueSshCredsOperation, err)

packages/api/ssh/sign_ssh_public_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func CallSignSshPublicKeyV1(httpClient *resty.Client, request SignSshPublicKeyV1
1313
res, err := httpClient.R().
1414
SetResult(&signSshPublicKeyResponse).
1515
SetBody(request).
16-
Post("/v1/ssh/sign")
16+
Post("/v1/ssh/certificates/sign")
1717

1818
if err != nil {
1919
return SignSshPublicKeyV1Response{}, errors.NewRequestError(callSignSshPublicKeyOperation, err)

0 commit comments

Comments
 (0)