IAzurePipelinesCommands.

SetSecretVariable(string, string) Method

Summary

Sets a secret variable in the variable service of the task context.

Syntax

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