certificates
Creates, updates, deletes, gets or lists a certificates resource.
Overview
| Name | certificates |
| Type | Resource |
| Id | deno.domain.certificates |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
add_domain_certificate | exec | domainId, privateKey, certificateChain | This API allows you to upload a TLS certificate for a domain. If the ownership of the domain is not verified yet, this API will trigger the verification process before storing the certificate. | |
provision_domain_certificates | exec | domainId | This API begins the provisioning of TLS certificates for a domain. Note that a call to this API may take a while, up to a minute or so. If the ownership of the domain is not verified yet, this API will trigger the verification process before provisioning the certificate. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
domainId | string (uuid) | Domain ID |
Lifecycle Methods
- add_domain_certificate
- provision_domain_certificates
This API allows you to upload a TLS certificate for a domain.
If the ownership of the domain is not verified yet, this API will trigger
the verification process before storing the certificate.
EXEC deno.domain.certificates.add_domain_certificate
@domainId='{{ domainId }}' --required
@@json=
'{
"privateKey": "{{ privateKey }}",
"certificateChain": "{{ certificateChain }}"
}'
;
This API begins the provisioning of TLS certificates for a domain.
Note that a call to this API may take a while, up to a minute or so.
If the ownership of the domain is not verified yet, this API will trigger
the verification process before provisioning the certificate.
EXEC deno.domain.certificates.provision_domain_certificates
@domainId='{{ domainId }}' --required
;