Skip to content

[enhancement]: AzureCLI task's Azure login with az cli should be optional #22012

@jikuja

Description

@jikuja

Task name

AzureCLI

Describe your feature request here

AzureCLI@2 and AzureCLI@3 emits federation idToken to idToken environment variable when addSpnToEnvironment is true.

On our use case we use AzureCLI@3 with addSpnToEnvironment to get idToken and fetch our token(s) from Entra ID without using az cli at all.

To make task faster it should be possible to fully skip az login when using addSpnToEnvironment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions