Scripted Actions - Account-Level Variables

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:

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

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

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

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

To manage account-level inherited variables:

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

  2. In the Secure and Inherited variables for scripted actions tile, in the Inherited variables list, select override to modify the inherited variable.

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

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

  5. 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:

  1. At the Account 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.