org-generate-password Task

Description

Generate a random password for scratch org users.

It executes the org generate password command.

Parameters

In addition to the attributes used by every ant-sf task, this task uses the following attributes:

Attribute Command line equivalent Description Required
complexity --complexity Level of password complexity or strength. The higher the value, the stronger the password. No; defaults to 5
length --length Number of characters in the generated password. Valid values are between 8 and 100. No; defaults to 13
referencesproperty The name of a property in which the generated password should be stored. If multiple passwords are generated, they will be stored in subproperties. No
targetorg --target-org A username or alias for the target org. No

Parameters specified as nested elements

onbehalfof

Specifies the username (or the alias) of a user for which to generate a password.

Version: 0.0.0-master