You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -187,6 +197,7 @@ public class ConnectAzureRmAccountCommand : AzureContextModificationCmdlet, IMod
187
197
[Parameter(ParameterSetName=UserWithCredentialParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
188
198
[Parameter(ParameterSetName=ServicePrincipalParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
189
199
[Parameter(ParameterSetName=ServicePrincipalCertificateParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
200
+
[Parameter(ParameterSetName=ServicePrincipalCertificateFileParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
190
201
[Parameter(ParameterSetName=AccessTokenParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
191
202
[Parameter(ParameterSetName=ManagedServiceParameterSet,Mandatory=false,HelpMessage="Max subscription number to populate contexts after login. Default is "+DefaultMaxContextPopulationString+". To populate all subscriptions to contexts, set to -1.")]
@@ -201,9 +212,17 @@ public class ConnectAzureRmAccountCommand : AzureContextModificationCmdlet, IMod
201
212
[Parameter(Mandatory=false,HelpMessage="Overwrite the existing context with the same name, if any.")]
202
213
publicSwitchParameterForce{get;set;}
203
214
204
-
[Parameter(ParameterSetName=ServicePrincipalCertificateParameterSet,Mandatory=false,HelpMessage="Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.")]
215
+
[Parameter(ParameterSetName=ServicePrincipalCertificateParameterSet,HelpMessage="Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.")]
216
+
[Parameter(ParameterSetName=ServicePrincipalCertificateFileParameterSet,HelpMessage="Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.")]
Copy file name to clipboardExpand all lines: src/Accounts/Accounts/ChangeLog.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,12 @@
19
19
-->
20
20
21
21
## Upcoming Release
22
+
* Supported certificate file as input parameter of Connect-AzAccount
22
23
23
24
## Version 2.3.0
24
25
* Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
25
26
* Removed obsolete parameters `ManagedServiceHostName`, `ManagedServicePort` and `ManagedServiceSecret` of cmdlet `Connect-AzAccount`, environment variables `MSI_ENDPOINT` and `MSI_SECRET` could be used instead
26
-
*Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
27
+
*Customized display format of PSAzureRmAccount to hide secret of service principal [#14208]
27
28
* Added optional parameter `AuthScope` to `Connect-AzAccount` to support enhanced authentication of data plane features
28
29
* Set retry times by environment variable [#14748]
@@ -184,21 +193,21 @@ more information on creating a self-signed certificates and assigning them permi
184
193
[Use Azure PowerShell to create a service principal with a certificate](/azure/active-directory/develop/howto-authenticate-service-principal-powershell)
0 commit comments