Skip to content

[Issue] azd pipeline config - auth type ignored #2883

@jasontaylordev

Description

@jasontaylordev

Output from azd version
azd version 1.4.2 (commit 694107e)

Describe the bug
When I run the commands:

azd env new EnvName
azd pipeline config --provider github --auth-type federated  --principal-name sp-EnvName

The resulting service principal is created with both client and federated credentials.

To Reproduce
To reproduce the behavior, run the commands:

azd env new EnvName
azd pipeline config --provider github --auth-type federated  --principal-name sp-EnvName

Then navigate to Azure Portal > Microsoft Entra ID > App registrations > All applications > sp-EnvName > Certificates & secrets.

Note that both the Client secrets and Federated credentials have values.

Expected behavior
When specifying --auth-type federated, I expect that client credentials will not be created in Entra ID or configured in GitHub.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions