Table of Contents

Class WorkflowSecretInjectionFromEnvironment

Namespace
Invex.Atom.Workflows.Options.Injections
Assembly
Invex.Atom.Workflows.dll

A workflow option that injects a secret parameter whose value is sourced from the workflow's environment (GitHub Actions vars, Azure DevOps variables) into every step that requires secrets.

public sealed record WorkflowSecretInjectionFromEnvironment : IBuildOption
Inheritance
object
WorkflowSecretInjectionFromEnvironment
Implements

Remarks

Typically created via BuildOptions.Inject.SecretFromWorkflowEnvironment(name) and added to the workflow's options.

Constructors

WorkflowSecretInjectionFromEnvironment(string)

A workflow option that injects a secret parameter whose value is sourced from the workflow's environment (GitHub Actions vars, Azure DevOps variables) into every step that requires secrets.

public WorkflowSecretInjectionFromEnvironment(string SecretName)

Parameters

SecretName string

The name of the secret parameter to inject.

Remarks

Typically created via BuildOptions.Inject.SecretFromWorkflowEnvironment(name) and added to the workflow's options.

Properties

SecretName

The name of the secret parameter to inject.

public string SecretName { get; init; }

Property Value

string