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
Copy file name to clipboardExpand all lines: articles/automation/automation-create-standalone-account.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,32 +98,35 @@ When the Automation account is successfully created, several resources are autom
98
98
99
99
## Manage Automation account keys
100
100
101
-
When you create an Automation account, Azure generates two 512-bit automation account access keys for that account. These keys are shared access keys which are used as registration keys for registering [DSC nodes](/azure/automation/automation-dsc-onboarding#use-dsc-metaconfiguration-to-register-hybrid-machines) as well as [Windows](/azure/automation/automation-windows-hrw-install#manual-deployment) and [Linux](/azure/automation/automation-linux-hrw-install#manually-run-powershell-commands) Hybrid runbook workers. These keys are only used while registering DSC nodes and Hybrid workers. Existing machines configured as DSC nodes or hybrid workers won’t be affected after rotation of these keys.
101
+
When you create an Automation account, Azure generates two 512-bit automation account access keys for that account. These keys are shared access keys that are used as registration keys for registering [DSC nodes](/azure/automation/automation-dsc-onboarding#use-dsc-metaconfiguration-to-register-hybrid-machines) as well as [Windows](/azure/automation/automation-windows-hrw-install#manual-deployment) and [Linux](/azure/automation/automation-linux-hrw-install#manually-run-powershell-commands) Hybrid runbook workers. These keys are only used while registering DSC nodes and Hybrid workers. Existing machines configured as DSC nodes or hybrid workers won’t be affected after rotation of these keys.
102
102
103
103
### View Automation account keys
104
104
105
105
To view and copy your Automation account access keys from the Azure portal, follow these steps:
106
106
1. In the [Azure portal](https://portal.azure.com/), go to your Automation account.
107
-
1. Under the **Account Settings**, select **Keys** to view your Automation account's primary and secondary access keys. You can use either of the two keys to access your Automation account. However, we recommend that you use the first key and reserve the use of second key.
107
+
1. Under the **Account Settings**, select **Keys** to view your Automation account's primary and secondary access keys.
108
+
You can use either of the two keys to access your Automation account. However, we recommend that you use the first key and reserve the use of second key.
We recommend that you rotate your access keys periodically to keep the Automation account secure. Since you have two access keys, you can rotate them either from the Azure portal or Azure PowerShell cmdlet.
114
+
We recommend that you rotate your access keys periodically to keep the Automation account secure. As you have two access keys, you can rotate them using Azure portal or Azure PowerShell cmdlet.
115
+
116
+
Choose a client
114
117
115
118
# [Azure portal](#tab/azureportal)
116
119
117
-
To rotate your Automation account access keys from Azure portal:
120
+
Follow these steps:
118
121
1. Go to your Automation account in [Azure portal](https://portal.azure.com/).
119
-
1. Under the **Account Settings**, select **Keys**.
120
-
1. Select the **Regenerate primary** button to regenerate the primary access key for your Automation account.
121
-
1.Similarly, select the **Regenerate secondary** button to regenerate the secondary access key.
122
+
1. Under **Account Settings**, select **Keys**.
123
+
1. Select **Regenerate primary** to regenerate the primary access key for your Automation account.
124
+
1.Select the **Regenerate secondary** button to regenerate the secondary access key.
Call the [New-AzAutomationKey](/powershell/module/az.automation/new-azautomationkey) command to regenerate the primary access key, as shown in the following example:
129
+
Run the [New-AzAutomationKey](/powershell/module/az.automation/new-azautomationkey) command to regenerate the primary access key, as shown in the following example:
0 commit comments