Concealed Global Variables are a special type of Global Variable for which the value is permanently concealed from all users of the account. This lets you create and save variables such as test login credentials, API keys, and other sensitive information to use in Real Browser and API Checks.
To preserve security, the value of a Concealed Global Variable is never revealed to any user of the account after it has been created and saved. It is scrubbed from the Splunk Synthetics Monitoring UI, in Real Browser and API Check results, and in alert messages.
To learn more about standard Global Variables, see Create a Global Variable.
Prerequisite
- To create a Concealed Global Variables, you need Administrator access in Splunk Synthetic Monitoring. Once a variable is created, any user with Manager access can reference it. See
- For the most secure experience with Concealed Global Variables, make sure your Private Locations are using runner version
v6.19
or above. See How Can I Automatically Update Private Location Runners? to learn more.
Create a Concealed Global Variable
Follow these steps to create a Concealed Global Variable:
- From the Admin Tools menu, select Global Variables.
- Click Add Variable.
- In the Description field, enter a hint or description that will help you and your team remember or identify the concealed value.
- In the Key field, enter a key for your Concealed Global Variable. For example, use
login-password
orapi-key-3
. - In the Value field, enter the value for your Concealed Global Variable.
- Check the box labeled Permanently conceal value? The value is concealed with dots. You can reveal the value again to edit it by unchecking the box, but once you click Save, the value is permanently concealed.
- When you are ready to permanently conceal the value, click Save at the bottom of the page. You can now reference the value in any Real Browser or API Check using its key.
Edit a Concealed Global Variable
To edit the key or description of a Concealed Global Variable, visit the Global Variables page and edit within the field. Click Save when you're finished editing.
Editing the value of a saved Concealed Global Variable clears the previous value. You must provide a new value and click Save to apply it.
Use a Concealed Global Variable in a Check
You can reference Concealed Global Variables in Checks the same way you use public Global Variables. See Use a Global Variable in a Check to learn how.