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
This command connects using the managed service identity of "myUserAssignedIdentity" by adding the User Assigned Identity to the Virtual Machine, then connecting using the ClientId of the User Assigned Identity.
149
+
More information about configuring Managed Identities can be found here: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vm.
150
+
151
+
### Example 6: Add an Account Using Managed Service Identity Login and ClientId
This command connects using the managed service identity of "myUserAssignedIdentity" by adding the User Assigned Identity to the Virtual Machine, then connecting using the Id of the User Assigned Identity.
163
+
More information about configuring Managed Identities can be found here: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vm.
164
+
165
+
### Example 7: Add an account using certificates
137
166
```powershell
138
167
# For more information on creating a self-signed certificate
139
168
# and giving it proper permissions, please see the following:
This command connects to an Azure account using certificate-based service principal authentication. Theservice principal used for authentication should have been created with the given certificate.
186
+
This command connects to an Azure account using certificate-based service principal authentication. The service principal used for authentication should have been created with the given certificate.
187
+
188
+
### Example 8: Add an account using AccessToken authentication
Account Id for access token in AccessToken parameter set.
226
+
Account Id for managed service in ManagedService parameter set. Can be a managed service resource Id, or the associated client id. To use the SystemAssigned identity, leave this field blank.
0 commit comments