Unikraft Cloud allows you to host your deployment at subdomains of the intended metro and/or use custom domains (e.g., example.com). Typically, Unikraft Cloud will automatically generate a TLS certificate for you based on Let's Encrypt™ via a DNS-01 challenge.
For subdomains, your deployment will use the wildcard TLS certificate of the respective Unikraft Cloud metro.
For wildcard domains you have to supply your own certificate. If you want to use Let's Encrypt™ you can use their DNS-based challenge and upload the resulting certificate to Unikraft Cloud.
List Certificates
Get one or many certificates with their current status and configuration. It's possible to filter this list by name or UUID.
query Parameters
details
booleanWhether to include details about the certificate in the response. By default this is set to true, meaning that all information about the certificate will be included in the response. If set to false, only the basic information about the certificate will be included, such as its name and UUID.
Request Body
Decision Table
Variant | Matching Criteria |
---|---|
type = object · requires: uuid | |
type = object · requires: name |
uuid
string · uuid · requiredMutually exclusive with name.
Example: 123e4567-e89b-12d3-a456-426614174000
Responses
default
status
string · enum · enumThe status of the response.
Enum values:successerrormessage
stringAn optional message providing additional information about the status. This field is useful when the status is not
success
.Example: Failed to perform all operationsdata
objectThe response data for this request.
errors
object[]A list of errors which may have occurred during the request.
op_time_us
integer · uint64The operation time in microseconds. This is the time it took to process the request and generate the response.
Example: 55
Create Certificate
Upload a new certificate with the given configuration.
Request Body
Decision Table
Variant | Matching Criteria |
---|---|
type = object |
name
stringThe name of the certificate.
This is a human-readable name that can be used to identify the certificate. The name must be unique within the context of your account. If no name is specified, a random name is generated for you. The name can also be used to identify the certificate in API calls.
Example: funky-certificate
Responses
default
status
string · enum · enumThe status of the response.
Enum values:successerrormessage
stringAn optional message providing additional information about the status. This field is useful when the status is not
success
.Example: Failed to perform all operationsdata
objectThe response data for this request.
errors
object[]A list of errors which may have occurred during the request.
op_time_us
integer · uint64The operation time in microseconds. This is the time it took to process the request and generate the response.
Example: 32
Delete Certificates
Delete the specified certificate(s). After this call the name of the certificate(s) are no longer valid.
Request Body
Decision Table
Variant | Matching Criteria |
---|---|
type = object · requires: uuid | |
type = object · requires: name |
uuid
string · uuid · requiredMutually exclusive with name.
Example: 123e4567-e89b-12d3-a456-426614174000
Responses
default
status
string · enum · enumThe status of the response.
Enum values:successerrormessage
stringAn optional message providing additional information about the status. This field is useful when the status is not
success
.Example: Failed to perform all operationsdata
objectThe response data for this request.
errors
object[]A list of errors which may have occurred during the request.
op_time_us
integer · uint64The operation time in microseconds. This is the time it took to process the request and generate the response.
Example: 42
Get Certificate by UUID
Get a specified certificate by its UUID.
path Parameters
uuid
string · uuid · requiredThe UUID of the certificate.
Responses
default
status
string · enum · enumThe status of the response.
Enum values:successerrormessage
stringAn optional message providing additional information about the status. This field is useful when the status is not
success
.Example: Failed to perform all operationsdata
objectThe response data for this request.
errors
object[]A list of errors which may have occurred during the request.
op_time_us
integer · uint64The operation time in microseconds. This is the time it took to process the request and generate the response.
Example: 55
Delete Certificate by UUID
Delete a specified certificate by its UUID. After this call the UUID of the certificate are no longer valid.
path Parameters
uuid
string · uuid · requiredThe UUID of the certificate to delete.
Responses
default
status
string · enum · enumThe status of the response.
Enum values:successerrormessage
stringAn optional message providing additional information about the status. This field is useful when the status is not
success
.Example: Failed to perform all operationsdata
objectThe response data for this request.
errors
object[]A list of errors which may have occurred during the request.
op_time_us
integer · uint64The operation time in microseconds. This is the time it took to process the request and generate the response.
Example: 42