Command Central 10.7 | Using the Command Line Interface | License Key Commands | sagcc get license-tools keys
 
sagcc get license-tools keys
Retrieves license key files from the Command Central license key manager.
Syntax
*Command Central syntax:
*To retrieve all license key files and download them in a zip archive file:
sagcc get license-tools keys {-o|--output} filename.zip
[options]
*To retrieve and download a license key file with the specified alias:
sagcc get license-tools keys licenseKeyAlias
[{-o|--output} filename]  [options]
*Not supported on Platform Manager.
Arguments and Options
The following table lists the command arguments for downloading all license files.
Argument or Option
Description
-o|--output filename
Required. Specifies the name of the output zip archive file. For more information, see output.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
The following table lists the command arguments for downloading a license file by license alias.
Argument or Option
Description
licenseKeyAlias
Required. The alias of the license key file to retrieve.
[-o|--output filename]
Optional. Specifies the name of the output file. For more information, see output.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
*The license key manager supports two types of license keys:
*Standard. License keys for Software AG products that are produced and managed using standard Software AG licensing tools and processes. The standard keys are in .xml format.
*Custom. License keys for Software AG products that have not yet adopted the standard Software AG licensing tools and processes, for example Terracotta. The custom keys are in any format that a product currently supports, for example a text file.
*After you download all license keys from a Command Central server as a zip archive, you can import the zip archive into another Command Central server, using the sagcc add license-tools keys command.
Examples When Executing on Command Central
*To retrieve all license key files from the license key manager for the "ccprod" server and download them in a zip archive file named "CC-license-keys.zip":
sagcc get license-tools keys -o c:\temp\CC-license-keys.zip -s http://ccprod:8090/cce
You can then add the downloaded "CC-license-keys.zip" into the Command Central server with name "ccdev":
sagcc add license-tools keys -i CC-license-keys.zip -s http://ccdev:8090/cce
*To retrieve the license key file with the alias "PIE96WinDesktop":
sagcc get license-tools keys PIE96WinDesktop -o c:\temp\PIE96WinDesktop.xml