A TLS stage is part of a pipeline. It allows you to provide an SSL/TLS certificate for your customized domain (DNS stage) - without this, Edge Services cannot serve traffic for your customized domain over HTTPS. This could be a custom certificate stored in Scaleway Secret ManagerOpen in new context, or a Let's Encrypt certificate generated and managed by Scaleway.
List TLS stages
List all TLS stages, for a Scaleway Organization or Scaleway Project. By default, the TLS stages returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
path Parameters
pipeline_idPipeline ID to filter for. Only TLS stages from this pipeline will be returned.
query Parameters
order_bySort order of TLS stages in the response.
pagePage number to return, from the paginated results.
page_sizeNumber of TLS stages to return per page.
secret_idSecret ID to filter for. Only TLS stages with this Secret ID will be returned.
secret_regionSecret region to filter for. Only TLS stages with a Secret in this region will be returned.
List TLS stages › Responses
Paginated list of TLS stages.
total_countCount of all TLS stages matching the requested criteria.
Create TLS stage
Create a new TLS stage. You must specify either the secrets or managed_certificate fields to customize the SSL/TLS certificate of your endpoint. Choose secrets if you are using a pre-existing certificate held in Scaleway Secret Manager, or managed_certificate to let Scaleway generate and manage a Let's Encrypt certificate for your customized endpoint.
path Parameters
pipeline_idPipeline ID the TLS stage belongs to. (UUID format)
Create TLS stage › Request Body
Secret (from Scaleway Secret Manager) containing your custom certificate.
managed_certificateTrue when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
cache_stage_idCache stage ID the TLS stage will be linked to. (UUID format)
backend_stage_idBackend stage ID the TLS stage will be linked to. (UUID format)
route_stage_id(UUID format)
waf_stage_id(UUID format)
Create TLS stage › Responses
idID of the TLS stage.
Secret (from Scaleway Secret Manager) containing your custom certificate.
managed_certificateTrue when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
pipeline_idPipeline ID the TLS stage belongs to.
certificate_expires_atExpiration date of the certificate. (RFC 3339 format)
statusCurrent status of the stage.
created_atDate the TLS stage was created. (RFC 3339 format)
updated_atDate the TLS stage was last updated. (RFC 3339 format)
cache_stage_idCache stage ID the TLS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the TLS stage is linked to. (UUID format)
waf_stage_id(UUID format)
route_stage_id(UUID format)
Get TLS stage
Retrieve information about an existing TLS stage, specified by its tls_stage_id. Its full details, including secrets and certificate expiration date are returned in the response object.
path Parameters
tls_stage_idID of the requested TLS stage.
Get TLS stage › Responses
idID of the TLS stage.
Secret (from Scaleway Secret Manager) containing your custom certificate.
managed_certificateTrue when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
pipeline_idPipeline ID the TLS stage belongs to.
certificate_expires_atExpiration date of the certificate. (RFC 3339 format)
statusCurrent status of the stage.
created_atDate the TLS stage was created. (RFC 3339 format)
updated_atDate the TLS stage was last updated. (RFC 3339 format)
cache_stage_idCache stage ID the TLS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the TLS stage is linked to. (UUID format)
waf_stage_id(UUID format)
route_stage_id(UUID format)
Update TLS stage
Update the parameters of an existing TLS stage, specified by its tls_stage_id. Both tls_secrets_config and managed_certificate parameters can be updated.
path Parameters
tls_stage_idID of the TLS stage to update.
Update TLS stage › Request Body
Secret (from Scaleway Secret-Manager) containing your custom certificate.
managed_certificateTrue when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
cache_stage_idCache stage ID the TLS stage will be linked to. (UUID format)
backend_stage_idBackend stage ID the TLS stage will be linked to. (UUID format)
route_stage_id(UUID format)
waf_stage_id(UUID format)
Update TLS stage › Responses
idID of the TLS stage.
Secret (from Scaleway Secret Manager) containing your custom certificate.
managed_certificateTrue when Scaleway generates and manages a Let's Encrypt certificate for the TLS stage/custom endpoint.
pipeline_idPipeline ID the TLS stage belongs to.
certificate_expires_atExpiration date of the certificate. (RFC 3339 format)
statusCurrent status of the stage.
created_atDate the TLS stage was created. (RFC 3339 format)
updated_atDate the TLS stage was last updated. (RFC 3339 format)
cache_stage_idCache stage ID the TLS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the TLS stage is linked to. (UUID format)
waf_stage_id(UUID format)
route_stage_id(UUID format)