Skip to content

Commit 7ad3580

Browse files
committed
Fixed Bug #31598
1 parent b48708c commit 7ad3580

File tree

2 files changed

+2
-0
lines changed
  • src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/federated_credential

2 files changed

+2
-0
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"],

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
9090
options=["--audiences"],
9191
arg_group="Properties",
9292
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.",
93+
default=["api://AzureADTokenExchange"],
9394
)
9495
_args_schema.issuer = AAZStrArg(
9596
options=["--issuer"],

0 commit comments

Comments
 (0)