This page is for Agent Vault admins. Members can’t see or change variables.
Learn more about roles
→
GITHUB_TOKEN. Any service in the bundle can use the variable through a reference, which is the key in double braces: {{GITHUB_TOKEN}}. The proxy sends the variable’s value in place of each reference.
For example, if several services send the same GitHub token, store the token as GITHUB_TOKEN and write {{GITHUB_TOKEN}} in each service. When the token changes, you update one variable instead of every service.
Add a variable
To add a variable to an access bundle:1
In Agent Vault, go to Access Bundles and select your access bundle.

2
Under Variables, select Add Variable.

3
Enter a Key and a Value.A key starts with a letter, uses only uppercase letters, numbers, and underscores, and can be up to 64 characters long. Two variables in the same access bundle can’t have the same key.
4
Leave Secret selected to hide the value once you save it. If you’re storing something that isn’t sensitive, such as an organization ID, clear Secret so the value stays visible in the list.
5
Select Add Variable. The variable appears in the Variables list.

Use a variable in a service
You can use a variable in the following fields of a service:Other fields don’t accept variables, and Infisical won’t save the service if one of those fields contains
{{ or }}.1
Add a service, or open an existing service’s actions menu and select Edit. Then go to the Credential step.
2
In a field that accepts variables, type 
{{. A list of the bundle’s variables appears.
3
Select a variable from the list. Infisical inserts the reference, such as 
{{GITHUB_TOKEN}}.You can also create a variable without leaving the service: type its key, then select Create at the end of the list.
org-{{ORG_ID}}, the proxy sends org- followed by the value of ORG_ID.
A field can contain up to three references. If a field uses the same key more than once, each use counts toward the limit, so {{ORG_ID}}/{{ORG_ID}} counts as two.