saucectl apit vault set-variable
Sets/updates a variable in a project's vault.
Usage
If a variable_name
is already in the vault, it is updated with the new one; otherwise, it adds a new variable.
saucectl apit vault set-variable "variable_name" "variable_value" [flags]
Available Options
Flag | Shorthand | Description |
---|---|---|
--project | None | Select a vault by project name. |
--region | -r | The Sauce Labs region. Options are us-west-1 (default) and eu-central-1 . |
Options Details
--project
| OPTIONAL | STRING |
Specifies the project by its name using--project
, or omits --project
to select from a list of available projects.saucectl apit vault set-variable "variable_name" "variable_value" --project "project_name"
--region
| OPTIONAL | STRING |
The Sauce Labs region. Options areus-west-1
(default) and eu-central-1
.Shorthand: -r <region>
saucectl apit vault set-variable "variable_name" "variable_value" --region us-west-1