misc: updated certificates v3 endpoint to be under /pki

This commit is contained in:
Sheen Capadngan
2025-11-10 21:44:25 +08:00
parent eb2553270b
commit a336cfa0c5
12 changed files with 12 additions and 22 deletions

View File

@@ -1,4 +0,0 @@
---
title: "Issue certificate"
openapi: "POST /api/v1/pki/ca/{caId}/issue-certificate"
---

View File

@@ -1,4 +0,0 @@
---
title: "Sign certificate"
openapi: "POST /api/v1/pki/ca/{caId}/sign-certificate"
---

View File

@@ -1,4 +1,4 @@
---
title: "Issue Certificate"
openapi: "POST /api/v1/pki/certificates/issue-certificate"
openapi: "POST /api/v3/pki/certificates/issue-certificate"
---

View File

@@ -1,4 +1,4 @@
---
title: "Renew Certificate"
openapi: "POST /api/v3/certificates/{certificateId}/renew"
openapi: "POST /api/v3/pki/certificates/{certificateId}/renew"
---

View File

@@ -1,4 +1,4 @@
---
title: "Sign Certificate"
openapi: "POST /api/v1/pki/certificates/sign-certificate"
openapi: "POST /api/v3/pki/certificates/sign-certificate"
---

View File

@@ -1,4 +1,4 @@
---
title: "Update Certificate Config"
openapi: "PATCH /api/v3/certificates/{certificateId}/config"
openapi: "PATCH /api/v3/pki/certificates/{certificateId}/config"
---

View File

@@ -2585,8 +2585,6 @@
"api-reference/endpoints/certificate-authorities/cert",
"api-reference/endpoints/certificate-authorities/sign-intermediate",
"api-reference/endpoints/certificate-authorities/import-cert",
"api-reference/endpoints/certificate-authorities/issue-cert",
"api-reference/endpoints/certificate-authorities/sign-cert",
"api-reference/endpoints/certificate-authorities/crl"
]
},

View File

@@ -105,7 +105,7 @@ Here, select the certificate profile from step 1 that will be used to issue the
### Sample request
```bash Request
curl --location --request POST 'https://app.infisical.com/api/v3/certificates/issue-certificate' \
curl --location --request POST 'https://app.infisical.com/api/v3/pki/certificates/issue-certificate' \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data-raw '{
@@ -151,7 +151,7 @@ Here, select the certificate profile from step 1 that will be used to issue the
### Sample request
```bash Request
curl --location --request POST 'https://app.infisical.com/api/v3/certificates/sign-certificate' \
curl --location --request POST 'https://app.infisical.com/api/v3/pki/certificates/sign-certificate' \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data-raw '{