Previous Topic: Encrypted PasswordsNext Topic: Credentials File Syntax


dmsweep Target Credentials File

The target credentials file enables you to specify targets and their passwords in one place. The format of the file is one set of targets per line.

You can use the /ip, /toip, /uri, /domain, /tu, /tp, and /query options in the file, in any order. If a username and password are specified without a target, these become the default username and password; otherwise, there must be at least one target. The default values are used on any line with a target but with no /tu and/or no /tp option. If the /tu or /tp option has no value, the user will be prompted for one. If there is no /tu (or /tp) option, the default username (or default password) is used. A blank password is used where there is no /tp option and no default password.

Note: You may also use the encrypted password option, /ep, in the target credentials file.

Examples of entries in the file are:

/ip <machine1,machine2> /tu /tp
/tu defaultUser /tp defauLtPassword
/ip 130.119.3.* /tu administrator /tp pass3472773
/ip 130.119.9.5 /toip 130.119.9.12 /tu administrator /tp

The target credentials file allows to plan deployments “offline” before initiating the actual deployment jobs. The files can be generated in response to events and other external factors, and then fed into the deployment process at scheduled times. Deployment to different “areas” of a network could also be specified by creating families of credential files relating to different company departments or offices. For example, the target credentials file uses syntax similar to the dmsweep command line, which provides consistency and also allows easier expansion to provide additional features (via new option syntax) in future versions.