Skip to content

Commit 0929347

Browse files
authored
[Identity] Fix #31598: Fix regression in az identity federated-credential create by defaulting audience (#31609)
1 parent d055519 commit 0929347

File tree

3 files changed

+192
-70
lines changed

3 files changed

+192
-70
lines changed

src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/federated_credential/_create.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
8888
options=["--audiences"],
8989
arg_group="Properties",
9090
help="The aud value in the token sent to Azure for getting the user-assigned managed identity token. The value configured in the federated credential and the one in the incoming token must exactly match for Azure to issue the access token.",
91+
default=["api://AzureADTokenExchange"],
9192
)
9293
_args_schema.issuer = AAZStrArg(
9394
options=["--issuer"],

0 commit comments

Comments
 (0)