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: Documentation/docs/how-to/connect-with-auth.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,10 @@ if (connectResult.ReasonCode == ConnAckReasonCode.Success)
35
35
Never hardcode credentials in your source code. Use environment variables, configuration files, or a secrets manager.
36
36
:::
37
37
38
+
:::tip SecureString Support
39
+
For enhanced security, use `SecureString` to prevent password exposure in memory. See the [Security Best Practices](/docs/security#securestring-for-credentials) guide for details.
-[Security Best Practices](/docs/security) - Comprehensive security guide including SecureString usage
98
103
-[Authentication with Username and Password - MQTT Security Fundamentals](https://www.hivemq.com/blog/mqtt-security-fundamentals-authentication-username-password/)
0 commit comments