Addigy Variables allow you to use pre-configured values and secrets across Addigy. This helps you securely deploy secrets onto a device or avoid duplication in software deployments by using variables for licensing.
Creating a Variable
To create a variable, navigate to the Catalog and then select the Variables tab.
New variables only require a key. A default value can be set, as well as one or more overrides for specific policies. When a variable is encountered during a deployment, Addigy will use a policy variation if one exists, or the default value otherwise.
There may be some cases where you need to specify a different value than the default. For example, some of your devices may need a different software license key than others. This is a common use case for large organizations or for managing separate tenants. By defining a policy override, Addigy will use that value instead of the default.
Using Variables
At the moment, Variables are only available for use in Smart Software installation scripts - however, we aim to provide support for Variables across the platform in the future.
To use a variable in a Smart Software installation script, type a “$” within your script to show a list of available variables. Select the variable you would like to use.
Now once this software is deployed via the policy, it will automatically pull the relevant value for this variable! If the variable has no policy overrides, it will just use the default value.
When deploying via GoLive, you will be prompted to specify whether you would like to use the Default value or a Policy Override value.
Notes:
- Variables will only work when Smart Software is deployed via a policy or via GoLive. Deploying from Self Service will result in an empty variable value.
- Variables are not currently supported for use in Scripts or MDM Profiles.