KMSAgent Command Description

Table 1 KMSAgent command and parameter description

Syntax

Function

Parameter and Option

kmsagent <config_path> <config_ksf_path>

Starts the KMSAgent.

  • config_path: Configuration file path.
  • config_ksf_path: Keystore file path, which is used to verify the integrity of the configuration file.

kmsagent <-c config_path> <-k ksf_path> <-s section> <-n name> <-v value>

Modifies the KMSAgent configuration file.

  • -c, --config_path: Configuration file.
  • -k, --ksf_path: Keystore path.
  • -s, --section: Section to which a configuration item belongs.
  • -n, --name: Configuration item to be modified.
  • -v, --value: Modified value.

kmsagent tls get-csr <keyAndsignAlg_param> <cert_op_param> <config_path> <config_ksf_path>

Generates the CSR.

  • tls: Certificate operation ID.
  • set-crl: Flag for importing a CRL.
  • crl_path: CRL file path, for example, server.crl.
  • config_path: Configuration file path.
  • config_ksf_path: Keystore file path, which is used to verify the integrity of the configuration file.

kmsagent tls set-cert <cert_op_param> <config_path> <config_ksf_path>

Imports a certificate.

kmsagent tls cert-info <config_path> <config_ksf_path>

Queries a certificate.

kmsagent tls set-crl <crl_path> <config_path> <config_ksf_path>

Imports a CRL.

kmsagent [options]

Queries versions and help information.

  • -h, --help: Prints the help information.
  • -V, --version: Displays the version information.