ubicloud/cli-commands/lb/post/certificate.rb
Jeremy Evans 11a4d9ce53 Allow downloading load balancer certificate via api/sdk/cli
Web support will come later after the UI refactoring.
2025-08-26 17:07:46 -07:00

11 lines
248 B
Ruby

# frozen_string_literal: true
UbiCli.on("lb").run_on("certificate") do
desc "Print active certificate for a load balancer"
banner "ubi lb (location/lb-name | lb-id) certificate"
run do
response(sdk_object.active_certificate)
end
end