Scripted Actions - MSP-Level Variables

Scripted Actions - MSP-Level Variables

Nerdio Manager allows you to manage MSP-level Secure and Inherited variables.

Note:

Secure Variables

Secure variables have the following key features:

  • Stored in the Key Vault.

  • Can be passed to MSP-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.

  • Can be passed to MSP-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 MSP-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 MSP-level secure and inherited variables:

  1. At the MSP level, navigate to Settings Integrations.

  2. In the Secure and Inherited variables for scripted actions tile, select the action (add, edit, or remove) you wish to perform.

  3. To add or edit a global 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.

    • Variable type: Select the variable type.

    • 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.

  4. When you have entered the desired information, select OK.

To copy MSP-level variable names for Scripted Actions or Policy Configuration:

  1. At the MSP level, navigate to Settings Integrations.

  2. Locate the variable you wish to copy.

  3. Select the copy icon on the left side to copy the variable name for scripted actions.

  4. Select the copy icon on the right side to copy the variable name for policy configuration.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.