Skip to content

azion_update_digital certificate

GitHub Action edited this page Jun 16, 2026 · 3 revisions

azion update digital-certificate

Updates a Digital Certificate

Synopsis

Modifies a Digital Certificate's attributes, such as its name, PEM contents, or managed-certificate settings, based on the given ID

azion update digital-certificate [flags]

Examples

$ azion update digital-certificate --digital-certificate-id 1234 --name 'My Certificate'
$ azion update digital-certificate --digital-certificate-id 1234 --certificate ./cert.pem --private-key ./key.pem
$ azion update digital-certificate --digital-certificate-id 1234 --active false
$ azion update digital-certificate --digital-certificate-id 1234 --file "update.json"

Options

      --active string                Whether the Digital Certificate is active or not
      --authority string             Certificate Authority that issues the managed certificate (e.g. lets_encrypt)
      --certificate string           Path to the file containing the certificate (PEM format)
      --certificate-type string      The Digital Certificate's type (e.g. edge_certificate, trusted_ca_certificate)
      --challenge string             Method used to solve the ACME challenge (dns or http)
      --digital-certificate-id int   The Digital Certificate's id
      --file string                  Given path and JSON file to automatically update the Digital Certificate attributes; you can use - for reading from stdin
  -h, --help                         Displays more information about the update digital-certificate command
      --key-algorithm string         Key algorithm used to generate the certificate (rsa_2048, rsa_4096, or ecc_384)
      --name string                  The Digital Certificate's name
      --private-key string           Path to the file containing the private key (PEM format)

Options inherited from parent commands

  -c, --config string      Sets the Azion configuration folder for the current command only, without changing persistent settings.
  -d, --debug              Displays log at a debug level
      --format string      Changes the output format passing the json value to the flag
  -l, --log-level string   Set the logging level, "debug", "info", or "error". (default "info")
      --no-color           Changes the output format passing the json value to the flag
      --out string         Exports the output to the given <file_path/file_name.ext>
  -s, --silent             Silences log completely; mostly used for automation purposes
      --timeout int        Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
  -t, --token string       Saves a given Personal Token locally to authorize CLI commands
  -y, --yes                Answers all yes/no interactions automatically with yes

SEE ALSO

  • azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion
Auto generated by spf13/cobra on 16-Jun-2026

Clone this wiki locally