Skip to content

Commit 8af29a0

Browse files
committed
Added note about enclosing double-quotes string
1 parent 7601f1d commit 8af29a0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/aks/api-server-authorized-ip-ranges.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: API server authorized IP ranges in Azure Kubernetes Service (AKS)
33
description: Learn how to secure your cluster using an IP address range for access to the API server in Azure Kubernetes Service (AKS)
44
services: container-service
55
ms.topic: article
6-
ms.date: 06/20/2022
6+
ms.date: 07/20/2022
77

88

99
#Customer intent: As a cluster operator, I want to increase the security of my cluster by limiting access to the API server to only the IP addresses that I specify.
@@ -129,6 +129,12 @@ az aks update \
129129
--api-server-authorized-ip-ranges ""
130130
```
131131

132+
> [!IMPORTANT]
133+
> When running this command using the PowerShell in Azure Cloud Shell or from your local computer,
134+
> the double-quote string value for the *--api-server-authorized-ip-rangers* argument needs to be [enclosed
135+
> in single quotes](/powershell/module/microsoft.powershell.core/about/about_quoting_rules#including-quote-characters-in-a-string).
136+
> Otherwise, an error message is returned indicating an expected argument is missing.
137+
132138
## Find existing authorized IP ranges
133139

134140
To find IP ranges that have been authorized, use [az aks show][az-aks-show] and specify the cluster's name and resource group. For example:

0 commit comments

Comments
 (0)