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/iot-operations/manage-mqtt-broker/howto-configure-authentication.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,10 @@ To link a BrokerListener to a *BrokerAuthentication* resource, specify the `auth
30
30
31
31
## Default BrokerAuthentication resource
32
32
33
-
Azure IoT Operations Preview deploys a default *BrokerAuthentication* resource named `default` linked with the *default* listener in the `azure-iot-operations` namespace. It's configured to only use Kubernetes Service Account Tokens (SATs) for authentication. To inspect it, run:
33
+
Azure IoT Operations Preview deploys a default *BrokerAuthentication* resource named `authn` linked with the *default* listener named `listener` in the `azure-iot-operations` namespace. It's configured to only use Kubernetes Service Account Tokens (SATs) for authentication. To inspect it, run:
34
34
35
35
```bash
36
-
kubectl get brokerauthentication default -n azure-iot-operations -o yaml
36
+
kubectl get brokerauthentication authn -n azure-iot-operations -o yaml
37
37
```
38
38
39
39
The output shows the default *BrokerAuthentication* resource, with metadata removed for brevity:
@@ -42,7 +42,7 @@ The output shows the default *BrokerAuthentication* resource, with metadata remo
Copy file name to clipboardExpand all lines: articles/iot-operations/manage-mqtt-broker/howto-configure-brokerlistener.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Each listener port can have its own authentication and authorization rules that
26
26
27
27
Listeners have the following characteristics:
28
28
29
-
- You can have up to three listeners. One listener per service type of `loadBalancer`, `clusterIp`, or `nodePort`. The default *BrokerListener* named *default* is service type `clusterIp`.
29
+
- You can have up to three listeners. One listener per service type of `loadBalancer`, `clusterIp`, or `nodePort`. The default *BrokerListener* named *listener* is service type `clusterIp`.
30
30
- Each listener supports multiple ports
31
31
- BrokerAuthentication and BrokerAuthorization references are per port
32
32
- TLS configuration is per port
@@ -59,7 +59,7 @@ To view or edit the listener:
59
59
To view the default *BrokerListener* resource, use the following command:
60
60
61
61
```bash
62
-
kubectl get brokerlistener default -n azure-iot-operations -o yaml
62
+
kubectl get brokerlistener listener -n azure-iot-operations -o yaml
63
63
```
64
64
65
65
The output should look similar to this, with most metadata removed for brevity:
@@ -68,14 +68,14 @@ The output should look similar to this, with most metadata removed for brevity:
@@ -94,7 +94,7 @@ To learn more about the default BrokerAuthentication resource linked to this lis
94
94
The default *BrokerListener* uses the service type *ClusterIp*. You can have only one listener per service type. If you want to add more ports to service type *ClusterIp*, you can update the default listener to add more ports. For example, you could add a new port 1883 with no TLS and authentication off with the following kubectl patch command:
0 commit comments