Summary
Sets a secret variable in the variable service of the task context.
- Namespace
- Cake
.Common .Build .AzurePipelines - Containing Type
- Azure
Pipelines Commands
Syntax
public void SetSecretVariable(string name, string value)
Remarks
The variable is not exposed to following tasks as an environment variable, and must be passed as inputs.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The variable name. |
| value | string | The variable value. |
Return Value
| Type | Description |
|---|---|
| void |
