---
title: "updateVariables"
canonical: "https://support.appfire.com/space/BCCLI/65766670/updateVariables"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766635)

> Macro (details)
> 
> | **Description** | Update workspace, repository, or deployment environment variables. Use one or more field parameters where each field parameter is a key=value pair. Specify a secured variable by appending ':secured' like key=value:secured. To secure all variables added or updated, use the secured parameter. Variables can also be updated from a property file using the propertyFile parameter. |
> | --- | --- |
> | **Required Parameters** | [workspace](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765634) or [repository](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766277) |
> | **Optional Parameters** | [environment](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768319), [field](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767481), [append](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765977), [propertyFile](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767297), [secured](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768317), [findReplace](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767245), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766313) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768932/Action+Types#ActionTypes-Update) |
> | **Category** | [Variables](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766329/Action+Categories#ActionCategories-Variables) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Since Version** | 10.1 |
> | **Examples** |  |

## Related How To's

> Macro (cql-query)