add_siteguard_script_credential_params
Adds a named credential as a parameter for a Site Guard script. The values of user name and password of this credential can be accessed within the script.
Format
emcli add_siteguard_script_credential_params -script_id="Id associated with the script" -credential_name="name of the credential" [-credential_owner="credential owner"] [ ] indicates that the parameter is optional.
Options
-
script_id
The script ID.
-
credential_name
The name of the credential.
-
credential_owner
The owner of the credential. This option does not need to be specified if the owner of the credential is same as the logged in user.
Example
The following command adds a script ID and credential name to the siteguard script where the credential owner is SG_ADMIN.
emcli add_siteguard_script_credential_params -script_id="2" -credential_name="NAMED_CREDENTIAL_Y" -credential_owner="SG_ADMIN"