Преглед на файлове

GITBOOK-16: Add cluster auth options for MSK

Roman Zabaluev преди 2 години
родител
ревизия
27357d6c64

+ 3 - 3
SUMMARY.md

@@ -24,10 +24,10 @@
 ## 👷♂ Configuration
 ## 👷♂ Configuration
 
 
 * [Permissions](configuration/permissions/README.md)
 * [Permissions](configuration/permissions/README.md)
-  * [Required Kafka ACLs](configuration/permissions/required-kafka-acls.md)
+  * [Required Kafka ACLs](configuration/configuration/required-acls.md)
   * [MSK (+Serverless) Setup](configuration/permissions/msk-+serverless-setup.md)
   * [MSK (+Serverless) Setup](configuration/permissions/msk-+serverless-setup.md)
-* [Complex configuration examples](configuration/complex-configuration-examples/README.md)
-  * [Kraft mode + multiple brokers](configuration/complex-configuration-examples/kraft-mode-+-multiple-brokers.md)
+* [Complex configuration examples](configuration/configuration/complex-configuration-examples/README.md)
+  * [Kraft mode + multiple brokers](configuration/configuration/complex-configuration-examples/kraft-mode-+-multiple-brokers.md)
 * [SSL](configuration/ssl.md)
 * [SSL](configuration/ssl.md)
 * [Authentication](configuration/authentication/README.md)
 * [Authentication](configuration/authentication/README.md)
   * [OAuth2](configuration/authentication/oauth2.md)
   * [OAuth2](configuration/authentication/oauth2.md)

+ 0 - 0
configuration/complex-configuration-examples/README.md → configuration/configuration/complex-configuration-examples/README.md


+ 0 - 0
configuration/complex-configuration-examples/kraft-mode-+-multiple-brokers.md → configuration/configuration/complex-configuration-examples/kraft-mode-+-multiple-brokers.md


+ 0 - 0
configuration/permissions/required-kafka-acls.md → configuration/configuration/required-acls.md


+ 10 - 1
configuration/permissions/msk-+serverless-setup.md

@@ -2,7 +2,16 @@
 
 
 This guide has been written for MSK Serverless but is applicable for MSK in general as well.
 This guide has been written for MSK Serverless but is applicable for MSK in general as well.
 
 
-## Creating an instance
+### Authentication options for Kafka-UI:
+
+```
+KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL=SASL_SSL
+KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM=AWS_MSK_IAM
+KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG='software.amazon.msk.auth.iam.IAMLoginModule required;'
+KAFKA_CLUSTERS_0_PROPERTIES_SASL_CLIENT_CALLBACK_HANDLER_CLASS='software.amazon.msk.auth.iam.IAMClientCallbackHandler'
+```
+
+### Creating an instance
 
 
 1. Go to the MSK page
 1. Go to the MSK page
 2. Click "create cluster"
 2. Click "create cluster"

+ 1 - 1
faq/common-problems.md

@@ -10,7 +10,7 @@ Good resource for what properties are needed here: https://gist.github.com/rmoff
 
 
 ## Cluster authorization failed
 ## Cluster authorization failed
 
 
-Check the [required permissions](../configuration/permissions/required-kafka-acls.md).
+Check the [required permissions](../configuration/configuration/required-acls.md).
 
 
 ## Confluent cloud errors
 ## Confluent cloud errors