Available operations and command-line parameters

This section describes the ManageCM tool command parameters.

Below is the list of available command parameters, with a short description and links to the corresponding reference sections.

Parameter

Description

Reference section

/ReloadConfiguration

Applies any configuration changes made.

Reload the configuration

Partners

/CreatePartner

Creates a new partner.

Create a partner

/RemovePartner

Removes an existing partner.

Remove a partner

/ListPartner

Lists partners and customers.

Show information about partners

Contracts

/CreateContract

Creates a contract and optionally instantiates it.

Create a contract

/ListContract

Lists contracts and detail information.

Show a contract

/ChangeContract

Changes the properties of a contract.

Change properties of a contract

/RemoveContract

Removes an existing contract.

Remove a contract

/AddContractType

Creates a contract type.

Create or update custom contract types

/ListContractType

Lists contract types and detail information.

Show contract types

/RemoveContractType

Removes a contract type.

Remove custom contract types

Interfaces

/AddInterface

Adds an interface.

Add interfaces

/ListInterface

Lists interfaces and detail information.

List interfaces

/RemoveInterface

Removes an interface.

Remove interfaces

Applications

/AddApplication

Adds an application and prints the key that needs to be passed when calling a Contract Manager interface.

Add an application

/ListApplications

Lists applications known to the Contract Manager.

List applications

/GetNewKeyForApplication

Generates a new key for the application and invalidates the older keys.

Get a new key for the application

/RemoveApplication

Removes the application and its associated privileges.

Remove an application

/AddPrivilegeForApplication

Adds privileges for the application.

Add a privilege for the application

/ListPrivilegesForApplication

Lists the privileges for the application.

List privileges for the application

/RemovePrivilegeForApplication

Removes privileges for the application.

Remove a privilege for the application

/GetPrivileges

Returns all privileges in a privileges XML file.

Get all privileges in an XML file

/SetPrivileges

Sets several privileges at the same time using a privileges XML file.

Set privileges

Contract types

/AddContractTypeToContract

Adds a contract type to an existing contract.

Add a new contract type to a contract

/RemoveContractTypeFromContract

Removes a contract type from an existing contract.

Remove a contract type from a contract

Instances

/ListInstance

Lists instances and detail information.

Show instances

/ProcessRegistrationFile

Manually register or unregister an instance at the Contract Manager. Can also be used to update the available interfaces on an already registered instance.

Register or unregister an instance

Although the following commands are still available in the ManageCM tool, they are replaced as follows starting from KCM 5.5.0:

  • The /AssociateInstance, /ActivateInstance, /RollbackInstance, /RemoveInstanceAssociation, /RegisterInstance, /ChangeInstance, and /RemoveInstance commands are replaced with the new instance registration mechanism.

  • The /ExportDatabase and /ImportDatabase commands are replaced with the special command-line tools, ExportContractManagerConfiguration.exe and ImportContractManagerConfiguration.exe, that you can use to import and export the Contract Manager configuration (stored in an internal database) to a file, as well as import and export KCM instance configuration. These tools are described in detail in the related sections of this guide.