Spotfire Server and Environment - Quick Start

re-sign-mod

Re-signs a mod file saved in the Spotfire Server library or on the local file system.

re-sign-mod 
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
<-u value | --username=value> 
[-p value | --file-path=value] 
[-d value | --destination=value] 
[-f | --force-overwrite] 
[-l value | --library-path=value] 
[-i value | --item-type=value] 
[--folder]
[--force-re-sign]

Overview

This command re-signs a mod file saved in the Spotfire Server library or on the local file system. This can be either mods signed by a Spotfire Server, or mods signed by a third-party certificate. Embedded mods within an analysis file are not supported.

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. The credentials in this file are used as source for the migration.

See Bootstrap.xml file for more information about this file.

-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the bootstrap.xml file.If the tool password is omitted, the command will prompt the end-user for it on the console.

See Bootstrap.xml file for more information.

-u value
--username=value
Required none The name of the user which will be seen as the new signer of the (re-signed) mod.
-p value
--file-path=value
Optional none The file path to the mod to be re-signed. This argument is mutually exclusive with the --library-path and --item-type argument.
-d value
--destination=value
Optional none The destination file for the re-signed mod. This argument is mutually exclusive with the --library-path and --item-type argument.
-f 
--force-overwrite
Optional none This argument is mutually exclusive with the --library-path and --item-type argument.
-l value 
--library-path=value
Optional none The library path to the mod to be re-signed. This argument requires the --item-type argument and it is mutually exclusive with the --file-path, --destination and --force-overwrite arguments.
-i value
--item-type=value
Optional none The item type of the mod to be re-signed, can be either spotfire.visualizationmod or spotfire.actionmod. This argument requires the --library-path argument and it is mutually exclusive with the --file-path, --destination and --force-overwrite arguments.
[--folder]
Optional none Specifies whether the library path should be treated as a folder path. If set, all mods of the specified item type in the selected folder will be re-signed. Note that mods in sub-folders will not be affected. This argument is mutually exclusive with the --file-path and --destination argument.
--force-re-sign
Optional none Force re-signing of a third-party mod (that is, a mod not signed by a Spotfire Server).