Certificates
Create a new Certificate
Changed onCreate a new Certificate
post/{workspace}/certificates
Request
- Base URL: http://localhost:8001
- URL: http://localhost:8001/{workspace}/certificates
- Auth: API key in header Kong-Admin-Token
Path parameters
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Response
Successfully created Certificate
Example response
{
"cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Changes
- info
endpoint added
- info