-
Notifications
You must be signed in to change notification settings - Fork 29
azion_update_variables
GitHub Action edited this page Jan 5, 2026
·
1 revision
Updates a variable's attributes
Modifies a variable's attributes based on its UUID
azion update variables [flags]
$ azion update variables --variable-id 7a187044-4a00-4a4a-93ed-d230900421f3 --key 'Content-Type' --value 'json' --secret false
$ azion update variables --file variables.json
$ Example JSON: {
"uuid": "32e8ffca-4021-49a4-971f-330935566af4",
"key": "Content-Type",
"value": "json",
"secret": false,
"last_editor": "hunter@hunter.com",
"created_at": "2023-06-13T13:17:13.145625Z",
"updated_at": "2023-06-13T13:17:13.145666Z"
}
--file string Given path and JSON file to automatically update the variable attributes; you can use - for reading from stdin
-h, --help Displays more information about the update subcommand
--key string The variable's key
--secret string Indicates whether the value is meant to be confidential.
--value string The variable's value
--variable-id string Unique identifier for a variable. The '--variable-id' flag is mandatory (default "0")
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
--format string Changes the output format passing the json value to the flag
-l, --log-level string Set the logging level, "debug", "info", or "error". (default "info")
--no-color Changes the output format passing the json value to the flag
--out string Exports the output to the given <file_path/file_name.ext>
-s, --silent Silences log completely; mostly used for automation purposes
--timeout int Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
-t, --token string Saves a given Personal Token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion