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
The goal is to enable variables across the platform, as of today they are only available in Smart Software installation scripts.
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.
Notes:
- Variables will only work when Smart Software is deployed via a policy, deploying from GoLive and Service Self will result in an empty variable value
- Variables are currently not available in Scripts or MDM Profiles