Scripted Actions - Account-Level Variables
Nerdio Manager allows you to manage Account-level Secure and Inherited variables.
Note: See Scripted Actions - MSP-Level Variables for details about MSP-level variables.
Secure Variables
Secure variables have the following features:
Stored in the Key Vault.
Can be passed to account-level scripted actions using the $SecureVars.Variable_Name variable name.
Only available for scripted actions.
This feature is especially helpful if you want to pass sensitive information to a scripted action without passing it via clear text.
Inherited Variables
Inherited Variables Limitations
The following are the limitations of inherited variables.
Variable Names
20-character limit
Alphanumeric characters are allowed
Hyphens - are allowed
Underscores _ are not allowed
Special characters and punctuation are not allowed (for example, ~!@#$%^&*()[]{},.<>/?\|`)
Variable Values
Alphanumeric, special characters, punctuation, underscores, and hyphens are all allowed
Inherited variables have the following features:
Stored in the Nerdio Manager database.
They cannot be removed, but they can be overridden.
Can be passed to account-level scripted actions, policies, and global apps using the $InheritedVars.Variable_Name variable name.
Environmental Variables
Environmental variables are retrieved from the customer environment.
Can be passed to account-level scripted actions and policies using the $EnvironmentalVars.Variable_Name variable name.
Environmental variables are retrieved from your customer environment, so you can't modify them here.
To manage account-level secure variables:
-
At the Account level, navigate to Settings > Integrations.
-
In the Secure and Inherited variables for scripted actions tile, in the Secure variables section, select the action (Add secure variable, edit, or remove) you wish to perform.
-
To add or edit a secure variable, enter the following information:
-
Name: Type the name of the variable.
Note: The variable name must be between 1 and 20 alphanumeric characters.
Value: Type the variable's value.
Windows scripts: Optionally, from the drop-down list, select which Windows scripted action(s) the variable is passed to.
Azure runbooks: Optionally, from the drop-down list, select which Azure Runbook(s) the variable is passed to.
-
When you have entered the desired information, select OK.
To manage account-level inherited variables:
-
At the Account level, navigate to Settings > Integrations.
-
In the Secure and Inherited variables for scripted actions tile, in the Inherited variables list, select override to modify the inherited variable.
-
To override an inherited variable, enter the following information:
Name: This cannot be changed.
Value: Type the variable's value.
Windows scripts: Optionally, from the drop-down list, select which Windows scripted action(s) the variable is passed to.
Azure runbooks: Optionally, from the drop-down list, select which Azure Runbook(s) the variable is passed to.
When you have entered the desired information, select OK.
Optionally, select reset to reset the inherited variable's value to its MSP-level default.
To copy account-level variable names for Scripted Actions or Policy Configuration:
At the Account level, navigate to Settings > Integrations.
-
Locate the variable you wish to copy.
-
Select the copy icon on the left side to copy the variable name for scripted actions.
-
Select the copy icon on the right side to copy the variable name for policy configuration.
Comments (0 comments)