Create certificate binding
bycloud certificates bindings create --certificate_id <certificate_id> --resource_type <resource_type> [flags]Bind a certificate to a resource. Currently supports binding to Octavia listeners. The certificate must be in active status.
Options
--certificate_id
stringrequiredCertificate ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--resource_id
stringrequiredThe ID of the resource to bind to
--resource_type
stringrequiredThe type of resource to bind the certificate to
Values: "octavia:listener"
--options
objectoptionalBinding options
Command
bycloud certificates bindings create \--certificate_id "abc-123" \--resource_type octavia:listener \--resource_id "abc-123"
Output
ID 550e8400-e29b-41d4-a716-446655440000CRN crn:sao1:certificate:binding:550e8400-e29b-41d4-a716-446655440000CERTIFICATE_ID 550e8400-e29b-41d4-a716-446655440001RESOURCE_TYPE octavia:listenerRESOURCE_ID 550e8400-e29b-41d4-a716-446655440002OPTIONSSNI falseSTATUS activeERROR_MESSAGE stringCREATED_AT 2024-01-15T10:30:00ZUPDATED_AT 2024-01-15T10:30:00Z