dcloud ci variables put-environmentCreate or change an environment variable
IAM ci:PutVariableChanges state
Synopsis
dcloud ci variables put-environment repoId name variable --value valueArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<name>Requiredstring
Also accepted as
--name. Constraints: 1-255 chars<variable>Requiredstring
Also accepted as
--variable. Constraints: /^[A-Za-z_][A-Za-z0-9_]*$/
Flags
--valueRequiredstring
Plain text, never secret (shown in the console, not masked in logs); up to 48 KiB
Constraints: max 49152 chars
Example
dcloud ci variables put-environment repoId name variable --value exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.