-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update apiVersion for FlexibleFIC #31393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b4be7e1
8d5cd53
91bfbab
121ab11
6a0f4d5
656787e
ca53532
28d4b4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,12 +22,14 @@ def load_arguments(self, _): | |
| c.argument('location', get_location_type(self.cli_ctx), required=False) | ||
| c.argument('tags', tags_type) | ||
|
|
||
| with self.argument_context('identity federated-credential', min_api='2022-01-31-preview') as c: | ||
| c.argument('federated_credential_name', options_list=('--name', '-n'), help='The name of the federated identity credential resource.') | ||
| with self.argument_context('identity federated-credential', min_api='2025-01-31-preview') as c: | ||
| c.argument('federated_credential_name', options_list=['--fc-name', '-f'], help='The name of the federated identity credential resource.') | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Renaming |
||
| c.argument('identity_name', help='The name of the identity resource.') | ||
|
|
||
| for scope in ['identity federated-credential create', 'identity federated-credential update']: | ||
| with self.argument_context(scope) as c: | ||
| c.argument('issuer', help='The openId connect metadata URL of the issuer of the identity provider that Azure AD would use in the token exchange protocol for validating tokens before issuing a token as the user-assigned managed identity.') | ||
| c.argument('subject', help='The sub value in the token sent to Azure AD 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 AD to issue the access token.') | ||
| c.argument('subject', help='The sub value in the token sent to Azure AD 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 AD to issue the access token. Cannot be used with --claims-matching-expression-value.') | ||
| c.argument('audiences', nargs='+', 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.') | ||
| c.argument('claims_matching_expression_value', options_list=['--cme-value', '-v'], help='A claims matching expression that is evaluated against incoming tokens for access token requests. Cannot be used with --subject.') | ||
| c.argument('claims_matching_expression_version', options_list=['--cme-version', '-e'], help='Version of the claims matching expression language. Required when using --cme-value.') | ||
|
Comment on lines
+34
to
+35
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The best practice is to use full names, such as |
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing
--identity-nameto--nameis incorrect and not allowed.