Language

ISecretStore.GetSteps Method

Definition

Returns the list of steps which should be added to agent jobs in order to inject secrets into the environment.

public System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep> GetSteps(Microsoft.TeamFoundation.DistributedTask.Pipelines.VariableGroupReference group, System.Collections.Generic.IEnumerable<string> keys);
abstract member GetSteps : Microsoft.TeamFoundation.DistributedTask.Pipelines.VariableGroupReference * seq<string> -> seq<Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep>
Public Function GetSteps (group As VariableGroupReference, keys As IEnumerable(Of String)) As IEnumerable(Of TaskStep)

Parameters

group
VariableGroupReference

The group from which secrets should be retrieved

keys
IEnumerable<String>

A list of keys which should be retrieved from the secret provider

Returns

A list of task steps which should be added to jobs in order to setup the environment

Applies to