Skip to content

Commit 96da93b

Browse files
committed
More reviews
1 parent 3d77e72 commit 96da93b

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

azure-stack/includes/operator-note-owa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ author: sethmanheim
33
ms.author: sethm
44
ms.service: azure-stack
55
ms.topic: include
6-
ms.date: 01/15/2025
6+
ms.date: 01/23/2025
77
ms.lastreviewed: 12/2/2020
88

99
---
1010

1111
::: moniker range=">=azs-2005"
1212
> [!NOTE]
13-
> You can also use the The Operator Access Workstation (OAW) to access the privileged endpoint (PEP), the Administrator portal for support scenarios, and Azure Stack Hub GitHub Tools. For more information, see [Azure Stack Hub Operator Access Workstation](../operator/operator-access-workstation.md).
13+
> You can also use the The Operator Access Workstation (OAW) to access the privileged endpoint (PEP), the administrator portal for support scenarios, and Azure Stack Hub GitHub Tools. For more information, see [Azure Stack Hub Operator Access Workstation](../operator/operator-access-workstation.md).
1414
::: moniker-end

azure-stack/operator/azure-stack-privileged-endpoint.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
title: Using the privileged endpoint in Azure Stack Hub
33
description: Learn how to use the privileged endpoint (PEP) in Azure Stack Hub as an operator.
44
author: sethmanheim
5-
65
ms.topic: article
7-
ms.date: 12/16/2020
6+
ms.date: 01/23/2025
87
ms.author: sethm
9-
ms.reviewer: fiseraci
108
ms.lastreviewed: 04/28/2020
119
ms.custom: conteperfq4
1210

@@ -18,46 +16,46 @@ ms.custom: conteperfq4
1816

1917
# Use the privileged endpoint in Azure Stack Hub
2018

21-
As an Azure Stack Hub operator, you should use the administrator portal, PowerShell, or Azure Resource Manager APIs for most day-to-day management tasks. However, for some less common operations, you need to use the *privileged endpoint* (PEP). The PEP is a pre-configured remote PowerShell console that provides you with just enough capabilities to help you do a required task. The endpoint uses [PowerShell JEA (Just Enough Administration)](/powershell/scripting/learn/remoting/jea/overview) to expose only a restricted set of cmdlets. To access the PEP and invoke the restricted set of cmdlets, a low-privileged account is used. No admin accounts are required. For additional security, scripting isn't allowed.
19+
As an Azure Stack Hub operator, you should use the administrator portal, PowerShell, or Azure Resource Manager APIs for most day-to-day management tasks. However, for some less common operations, you must use the *Privileged Endpoint* (PEP). The PEP is a pre-configured remote PowerShell console that provides you with just enough capabilities to help you do a required task. The endpoint uses [PowerShell JEA (Just Enough Administration)](/powershell/scripting/learn/remoting/jea/overview) to expose only a restricted set of cmdlets. To access the PEP and invoke the restricted set of cmdlets, a low-privileged account is used. No admin accounts are required. For additional security, scripting isn't allowed.
2220

2321
You can use the PEP to perform these tasks:
2422

2523
- Low-level tasks, such as [collecting diagnostic logs](azure-stack-get-azurestacklog.md).
2624
- Many post-deployment datacenter integration tasks for integrated systems, such as adding Domain Name System (DNS) forwarders after deployment, setting up Microsoft Graph integration, Active Directory Federation Services (AD FS) integration, certificate rotation, and so on.
27-
- To work with support to obtain temporary, high-level access for in-depth troubleshooting of an integrated system.
25+
- To work with support personnel to obtain temporary, high-level access for in-depth troubleshooting of an integrated system.
2826

2927
The PEP logs every action (and its corresponding output) that you perform in the PowerShell session. This provides full transparency and complete auditing of operations. You can keep these log files for future audits.
3028

3129
> [!NOTE]
32-
> In the Azure Stack Development Kit (ASDK), you can run some of the commands available in the PEP directly from a PowerShell session on the development kit host. However, you may want to test some operations using the PEP, such as log collection, because this is the only method available to perform certain operations in an integrated systems environment.
30+
> In the Azure Stack Development Kit (ASDK), you can run some of the commands available in the PEP directly from a PowerShell session on the development kit host. However, you might want to test some operations using the PEP, such as log collection, because this is the only method available to perform certain operations in an integrated systems environment.
3331
3432
[!INCLUDE [Azure Stack Hub Operator Access Workstation](../includes/operator-note-owa.md)]
3533

3634
## Access the privileged endpoint
3735

3836
You access the PEP through a remote PowerShell session on the virtual machine (VM) that hosts the PEP. In the ASDK, this VM is named **AzS-ERCS01**. If you're using an integrated system, there are three instances of the PEP, each running inside a VM (*Prefix*-ERCS01, *Prefix*-ERCS02, or *Prefix*-ERCS03) on different hosts for resiliency.
3937

40-
Before you begin this procedure for an integrated system, make sure you can access the PEP either by IP address or through DNS. After the initial deployment of Azure Stack Hub, you can access the PEP only by IP address because DNS integration isn't set up yet. Your OEM hardware vendor will provide you with a JSON file named **AzureStackStampDeploymentInfo** that contains the PEP IP addresses.
38+
Before you begin this procedure for an integrated system, make sure you can access the PEP either by IP address or through DNS. After the initial deployment of Azure Stack Hub, you can access the PEP only by IP address because DNS integration isn't set up yet. Your OEM hardware vendor provides you with a JSON file named **AzureStackStampDeploymentInfo** that contains the PEP IP addresses.
4139

42-
You may also find the IP address in the Azure Stack Hub administrator portal. Open the portal, for example, `https://adminportal.local.azurestack.external`. Select **Region Management** > **Properties**.
40+
You can also find the IP address in the Azure Stack Hub administrator portal. Open the portal; for example, `https://adminportal.local.azurestack.external`. Select **Region Management** > **Properties**.
4341

44-
You will need set your current culture setting to `en-US` when running the privileged endpoint, otherwise cmdlets such as Test-AzureStack or Get-AzureStackLog will not work as expected.
42+
You must set your current culture to `en-US` when you run the privileged endpoint, otherwise cmdlets such as `Test-AzureStack` or `Get-AzureStackLog` won't work as expected.
4543

4644
> [!NOTE]
47-
> For security reasons, we require that you connect to the PEP only from a hardened VM running on top of the hardware lifecycle host, or from a dedicated and secure computer, such as a [Privileged Access Workstation](https://4sysops.com/archives/understand-the-microsoft-privileged-access-workstation-paw-security-model). The original configuration of the hardware lifecycle host must not be modified from its original configuration (including installing new software) or used to connect to the PEP.
45+
> For security reasons, we require that you connect to the PEP only from a hardened VM running on top of the hardware lifecycle host, or from a dedicated and secure computer, such as a [Privileged Access Workstation](https://4sysops.com/archives/understand-the-microsoft-privileged-access-workstation-paw-security-model). The original configuration of the hardware lifecycle host must not be modified from its original configuration (including installing new software) or used to connect to the PEP.
4846
4947
1. Establish the trust.
5048

51-
- On an integrated system, run the following command from an elevated Windows PowerShell session to add the PEP as a trusted host on the hardened VM running on the hardware lifecycle host or the Privileged Access Workstation.
49+
- On an integrated system, run the following command from an elevated Windows PowerShell session to add the PEP as a trusted host on the hardened VM running on the hardware lifecycle host or the Privileged Access Workstation:
5250

5351
```powershell
5452
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '<IP Address of Privileged Endpoint>' -Concatenate
5553
```
56-
57-
- If you're running the ASDK, sign in to the development kit host.
54+
55+
- If you run the ASDK, sign in to the development kit host.
5856
5957
1. On the hardened VM running on the hardware lifecycle host or the Privileged Access Workstation, open a Windows PowerShell session. Run the following commands to establish a remote session on the VM that hosts the PEP:
60-
58+
6159
- On an integrated system:
6260
6361
```powershell
@@ -66,24 +64,24 @@ You will need set your current culture setting to `en-US` when running the privi
6664
$pep = New-PSSession -ComputerName <IP_address_of_ERCS> -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
6765
Enter-PSSession $pep
6866
```
69-
67+
7068
The `ComputerName` parameter can be either the IP address or the DNS name of one of the VMs that hosts the PEP.
7169
7270
> [!NOTE]
7371
> Azure Stack Hub doesn't make a remote call when validating the PEP credential. It relies on a locally-stored RSA public key to do that.
7472
75-
- If you're running the ASDK:
73+
- If you run the ASDK:
7674
7775
```powershell
7876
$cred = Get-Credential
7977
8078
$pep = New-PSSession -ComputerName azs-ercs01 -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US)
8179
Enter-PSSession $pep
8280
```
83-
81+
8482
When prompted, use the following credentials:
85-
86-
- **User name**: Specify the CloudAdmin account, in the format **&lt;*Azure Stack Hub domain*&gt;\cloudadmin**. (For ASDK, the user name is **azurestack\cloudadmin**)
83+
84+
- **User name**: Specify the CloudAdmin account, in the format **&lt;*Azure Stack Hub domain*&gt;\cloudadmin**.
8785
- **Password**: Enter the same password that was provided during installation for the AzureStackAdmin domain administrator account.
8886
8987
> [!NOTE]
@@ -197,7 +195,7 @@ To close the endpoint session:
197195
| Parameter | Description | Type | Required |
198196
|---------|---------|---------|---------|
199197
| *TranscriptsPathDestination* | Path to the external file share defined as "fileshareIP\sharefoldername" | String | Yes|
200-
| *Credential* | Credentials to access the file share | SecureString | Yes |
198+
| *Credential* | Credentials to access the file share | SecureString | Yes |
201199

202200

203201
After the transcript log files are successfully transferred to the file share, they're automatically deleted from the PEP.

0 commit comments

Comments
 (0)