Skip to content

Commit 1aaa2af

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into lbtoc
2 parents dab58f9 + 48d107d commit 1aaa2af

File tree

2 files changed

+13
-24
lines changed

2 files changed

+13
-24
lines changed

articles/automation/shared-resources/credentials.md

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: automation
66
ms.subservice: shared-capabilities
77
author: mgoedtel
88
ms.author: magoedte
9-
ms.date: 04/12/2019
9+
ms.date: 01/31/2020
1010
ms.topic: conceptual
1111
manager: carmonm
1212
---
@@ -19,27 +19,16 @@ An Automation credential asset holds an object, which contains security credenti
1919
> [!NOTE]
2020
> Secure assets in Azure Automation include credentials, certificates, connections, and encrypted variables. These assets are encrypted and stored in Azure Automation using a unique key that is generated for each automation account. This key is stored in Key Vault. Before storing a secure asset, the key is loaded from Key Vault and then used to encrypt the asset.
2121
22-
## Azure Classic PowerShell cmdlets
22+
## Azure PowerShell Az cmdlets
2323

24-
The cmdlets in the following table are used to create and manage automation credential assets with Windows PowerShell. They ship as part of the [Azure PowerShell module](/powershell/azure/overview), which is available for use in Automation runbooks and DSC configurations.
24+
For Azure PowerShell Az module, the cmdlets in the following table are used to create and manage automation credential assets with Windows PowerShell. They ship as part of the [AzureAz.Automation module](/powershell/azure/new-azureps-module-az?view=azps-1.1.0), which is available for use in Automation runbooks and DSC configurations.
2525

2626
| Cmdlets | Description |
2727
|:--- |:--- |
28-
| [Get-AzureAutomationCredential](/powershell/module/servicemanagement/azure/get-azureautomationcredential) |Retrieves information about a credential asset. You can only retrieve the credential itself from **Get-AutomationPSCredential** activity. |
29-
| [New-AzureAutomationCredential](/powershell/module/servicemanagement/azure/new-azureautomationcredential) |Creates a new Automation credential. |
30-
| [Remove-AzureAutomationCredential](/powershell/module/servicemanagement/azure/new-azureautomationcredential) |Removes an Automation credential. |
31-
| [Set-AzureAutomationCredential](/powershell/module/servicemanagement/azure/new-azureautomationcredential) |Sets the properties for an existing Automation credential. |
32-
33-
## AzureRM PowerShell cmdlets
34-
35-
For AzureRM, the cmdlets in the following table are used to create and manage automation credential assets with Windows PowerShell. They ship as part of the [AzureRM.Automation module](/powershell/azure/overview), which is available for use in Automation runbooks and DSC configurations.
36-
37-
| Cmdlets | Description |
38-
|:--- |:--- |
39-
| [Get-AzureRmAutomationCredential](/powershell/module/azurerm.automation/get-azurermautomationcredential) |Retrieves information about a credential asset. This does not return a PSCredential object. |
40-
| [New-AzureRmAutomationCredential](/powershell/module/azurerm.automation/new-azurermautomationcredential) |Creates a new Automation credential. |
41-
| [Remove-AzureRmAutomationCredential](/powershell/module/azurerm.automation/remove-azurermautomationcredential) |Removes an Automation credential. |
42-
| [Set-AzureRmAutomationCredential](/powershell/module/azurerm.automation/set-azurermautomationcredential) |Sets the properties for an existing Automation credential. |
28+
| [Get-AzAutomationCredential](/powershell/module/az.automation/get-azautomationcredential?view=azps-3.3.0) |Retrieves information about a credential asset. This does not return a PSCredential object. |
29+
| [New-AzAutomationCredential](/powershell/module/az.automation/new-azautomationcredential?view=azps-3.3.0) |Creates a new Automation credential. |
30+
| [Remove-AzAutomationCredential](/powershell/module/az.automation/remove-azautomationcredential?view=azps-3.3.0) |Removes an Automation credential. |
31+
| [Set-AzAutomationCredential](/powershell/module/az.automation/set-azautomationcredential?view=azps-3.3.0) |Sets the properties for an existing Automation credential. |
4332

4433
## Activities
4534

@@ -68,8 +57,8 @@ The function in the following table is used to access credentials in a Python2 r
6857
### To create a new credential asset with the Azure portal
6958

7059
1. From your automation account, select **Credentials** under **Shared Resources**.
71-
1. Click **+ Add a credential**.
72-
1. Complete the form and click **Create** to save the new credential.
60+
1. Select **Add a credential**.
61+
1. Complete the form and select **Create** to save the new credential.
7362

7463
> [!NOTE]
7564
> User accounts that use multi-factor authentication are not supported for use in Azure Automation.
@@ -90,7 +79,7 @@ New-AzureAutomationCredential -AutomationAccountName "MyAutomationAccount" -Name
9079
You retrieve a credential asset in a runbook or DSC configuration with the **Get-AutomationPSCredential** activity. This returns a [PSCredential object](/dotnet/api/system.management.automation.pscredential) that you can use with an activity or cmdlet that requires a PSCredential parameter. You can also retrieve the properties of the credential object to use individually. The object has a property for the username and the secure password, or you can use the **GetNetworkCredential** method to return a [NetworkCredential](/dotnet/api/system.net.networkcredential) object that will provide an unsecured version of the password.
9180

9281
> [!NOTE]
93-
> **Get-AzureRmAutomationCredential** does not return a **PSCredential** that can be used for authentication. It only provides information about the credential. If you need to use a credential in a runbook you must use the **Get-AutomationPSCredential** to retrieve the **PSCredential** object.
82+
> **Get-AzAutomationCredential** does not return a **PSCredential** that can be used for authentication. It only provides information about the credential. If you need to use a credential in a runbook you must use the **Get-AutomationPSCredential** to retrieve the **PSCredential** object.
9483
9584
### Textual runbook sample
9685

@@ -103,7 +92,7 @@ $securePassword = $myCredential.Password
10392
$password = $myCredential.GetNetworkCredential().Password
10493
```
10594

106-
You can also use a credential to authenticate to Azure with [Connect-AzureRmAccount](/powershell/module/azurerm.profile/connect-azurermaccount). Under most circumstances, you should use a [Run As account](../manage-runas-account.md) and retrieve it with [Get-AutomationConnection](../automation-connections.md).
95+
You can also use a credential to authenticate to Azure with [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount?view=azps-3.3.0). Under most circumstances, you should use a [Run As account](../manage-runas-account.md) and retrieve it with [Get-AzAutomationConnection](../automation-connections.md).
10796

10897
```azurepowershell
10998
$myCred = Get-AutomationPSCredential -Name 'MyCredential'
@@ -122,7 +111,7 @@ You add a **Get-AutomationPSCredential** activity to a graphical runbook by righ
122111

123112
![Add credential to canvas](../media/credentials/credential-add-canvas.png)
124113

125-
The following image shows an example of using a credential in a graphical runbook. In this case, it's being used to provide authentication for a runbook to Azure resources as described in [Authenticate Runbooks with Azure AD User account](../automation-create-aduser-account.md). The first activity retrieves the credential that has access to the Azure subscription. The **Add-AzureAccount** activity then uses this credential to provide authentication for any activities that come after it. A [pipeline link](../automation-graphical-authoring-intro.md#links-and-workflow) is here since **Get-AutomationPSCredential** is expecting a single object.
114+
The following image shows an example of using a credential in a graphical runbook. In this case, it's being used to provide authentication for a runbook to Azure resources as described in [Authenticate Runbooks with Azure AD User account](../automation-create-aduser-account.md). The first activity retrieves the credential that has access to the Azure subscription. The **Add-AzureRmAccount** activity then uses this credential to provide authentication for any activities that come after it. A [pipeline link](../automation-graphical-authoring-intro.md#links-and-workflow) is here since **Get-AutomationPSCredential** is expecting a single object.
126115

127116
![Add credential to canvas](../media/credentials/get-credential.png)
128117

includes/virtual-machines-common-sizes-hpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Premium Storage: Supported
2929

3030
| Size | vCPU | Processor | Memory (GB) | Memory bandwidth GB/s | Base CPU frequency (GHz) | All-cores frequency (GHz, peak) | Single-core frequency (GHz, peak) | RDMA performance (Gb/s) | MPI support | Temp storage (GB) | Max data disks | Max Ethernet NICs |
3131
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
32-
| Standard_HB120rs | 120 | AMD EPYC 7742 | 480 | 350 | 2.45 | 2.45 | 3.4 | 200 | All | 480 + 960 | 8 | 1 |
32+
| Standard_HB120rs_v2 | 120 | AMD EPYC 7V12 | 480 | 350 | 2.45 | 3.1 | 3.3 | 200 | All | 480 + 960 | 8 | 1 |
3333

3434
<br>
3535

0 commit comments

Comments
 (0)