Get an SNI
Changed onGet an SNI using ID or name.
Request
- Base URLhttp://localhost:8001
- AuthAPI key in header Kong-Admin-Token
Path parameters
ID or name of the SNI to lookup
The name of the workspace
Response
Successfully fetched SNI
An SNI object represents a many-to-one mapping of hostnames to a certificate. That is, a certificate object can have many hostnames associated with it; when Kong receives an SSL request, it uses the SNI field in the Client Hello to lookup the certificate object based on the SNI associated with the certificate.
The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object.
Unix epoch when the resource was created.
A string representing a UUID (universally unique identifier).
The SNI name to associate with the given certificate.
An optional set of strings associated with the SNIs for grouping and filtering.
Unix epoch when the resource was last updated.
Example response
{
"certificate": {
"id": "bd380f99-659d-415e-b0e7-72ea05df3218"
},
"id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
"name": "some.example.org"
}Changes
- info
endpoint added
- info